Files
timmy-config/wizards/allegro-primus/dashboard/ap-dashboard.service
2026-03-31 20:02:01 +00:00

20 lines
596 B
Desktop File

[Unit]
Description=Allegro-Primus Progress Dashboard
Documentation=https://github.com/allegro-primus/dashboard
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/wizards/allegro-primus/dashboard
Environment=PATH=/root/wizards/allegro-primus/venv/bin
Environment=AP_DASHBOARD_HOST=0.0.0.0
Environment=AP_DASHBOARD_PORT=8080
Environment=PYTHONPATH=/root/wizards/allegro-primus
ExecStart=/root/wizards/allegro-primus/venv/bin/gunicorn -w 2 -b 0.0.0.0:8080 --access-logfile - --error-logfile - dashboard:app
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target