Records all processing events (success, failed, invalid_filename, folder_uploaded) to a local SQLite database. Adds a Flask report server on port 5050 with date range filtering, environment/status filters, and CSV export. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
632 B
Desktop File
26 lines
632 B
Desktop File
[Unit]
|
|
Description=Ford Asset Pack SFTP Upload Report Server
|
|
Documentation=file:///home/box-cli/FORD_SCRIPTS/ford-gechub-sftp/DAEMON_MODE.md
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/box-cli/FORD_SCRIPTS/ford-gechub-sftp
|
|
|
|
ExecStart=/home/box-cli/FORD_SCRIPTS/ford-gechub-sftp/venv/bin/python \
|
|
/home/box-cli/FORD_SCRIPTS/ford-gechub-sftp/report_server.py
|
|
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
TimeoutStopSec=30
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=ford-asset-pack-report
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|