Extend shift reporting and downtime analytics
This commit is contained in:
1 parent
41a5ae7a63
commit
6e8eb6f50f
74 files changed
+5397
-238
No files matched your search
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Production Analytics - Secumat 1/2 Downtime Reconciliation
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=production-analytics
|
||||
Group=production-analytics
|
||||
WorkingDirectory=/opt/git-projects/production-analytics
|
||||
EnvironmentFile=/opt/git-projects/production-analytics/.env
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/opt/git-projects/production-analytics/.venv/bin/python -m production_analytics.cli run downtime-reconcile --config /opt/git-projects/production-analytics/config/secumat12-downtime.yaml --secrets-file /opt/git-projects/production-analytics/secrets/enlyze.env --erp-secrets-file /opt/git-projects/production-analytics/secrets/erp.env
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user