[Unit]
Description=Argus — Teleo Pipeline Diagnostics Dashboard
After=teleo-pipeline.service
Wants=teleo-pipeline.service

[Service]
Type=simple
User=teleo
Group=teleo
WorkingDirectory=/opt/teleo-eval/diagnostics
ExecStart=/usr/bin/python3 /opt/teleo-eval/diagnostics/app.py
Environment=PIPELINE_DB=/opt/teleo-eval/pipeline/pipeline.db
Environment=ARGUS_PORT=8081
Environment=REPO_DIR=/opt/teleo-eval/workspaces/main
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
