Files
customer-installer/templates/n8n-workflow-reload.service
Wolfgang aa00fb9d29 feat: Add credentials management system and comprehensive testing
- Add credentials management system with automatic saving and updates
- Add upload form URL to JSON output
- Add Ollama model information to JSON output
- Implement credential update system (update_credentials.sh)
- Implement credential save system (save_credentials.sh)
- Add comprehensive test suites (infrastructure, n8n, PostgREST, complete system)
- Add workflow auto-reload system with systemd service
- Add detailed documentation (CREDENTIALS_MANAGEMENT.md, TEST_REPORT.md, VERIFICATION_SUMMARY.md)
- Improve n8n setup with robust API-based workflow import
- Add .gitignore for credentials directory
- All tests passing (40+ test cases)

Key Features:
- Credentials automatically saved to credentials/<hostname>.json
- Update Ollama URL from IP to hostname without container restart
- Comprehensive testing with 4 test suites
- Full documentation and examples
- Production-ready system
2026-01-24 22:31:26 +01:00

33 lines
675 B
Desktop File

[Unit]
Description=n8n Workflow Auto-Reload Service
Documentation=https://docs.n8n.io/
After=docker.service
Wants=docker.service
# Warte bis n8n-Container läuft
After=docker-n8n.service
Requires=docker.service
[Service]
Type=oneshot
RemainAfterExit=yes
User=root
WorkingDirectory=/opt/customer-stack
# Warte kurz, damit Docker-Container vollständig gestartet sind
ExecStartPre=/bin/sleep 10
# Führe Reload-Script aus
ExecStart=/bin/bash /opt/customer-stack/reload-workflow.sh
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=n8n-workflow-reload
# Restart-Policy bei Fehler
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target