Recount Dashboard
This commit is contained in:
commit
fe220504fd
21 files changed
+11350
No files matched your search
@@ -0,0 +1,34 @@
|
||||
[Unit]
|
||||
Description=Edge Counter Recounting Dashboard (Flask, port 5002)
|
||||
Documentation=file:///opt/bytetrack-counter/DEPLOY.md
|
||||
After=network-online.target bytetrack-counter-dashboard.service
|
||||
Wants=network-online.target bytetrack-counter-dashboard.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
WorkingDirectory=/opt/bytetrack-counter
|
||||
|
||||
EnvironmentFile=/opt/bytetrack-counter/.env
|
||||
Environment=PATH=/opt/bytetrack-counter/venv/bin:/usr/local/bin:/usr/bin:/bin
|
||||
Environment=PYTHONNOUSERSITE=1
|
||||
Environment=FLASK_DEBUG=false
|
||||
|
||||
ExecStart=/opt/bytetrack-counter/venv/bin/python recounting_dashboard.py
|
||||
|
||||
TimeoutStopSec=15
|
||||
KillSignal=SIGTERM
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StartLimitInterval=60s
|
||||
StartLimitBurst=3
|
||||
|
||||
NoNewPrivileges=true
|
||||
ProtectHome=true
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user