init
PostgreSQL integration / tests (push) Has been cancelled

This commit is contained in:
ms
2026-11-09 13:15:48 +01:00
parent 4fb7613689
commit 2c1c48df0c
78 changed files with 2707 additions and 176 deletions
+22
View File
@@ -0,0 +1,22 @@
[Unit]
Description=dilib host agent and optional Celery collector
After=network-online.target
Wants=network-online.target
[Service]
User=dilib-agent
Group=dilib-agent
WorkingDirectory=/opt/dilib-dashboard
EnvironmentFile=/etc/dilib-agent/agent.env
Environment=PYTHONUNBUFFERED=1
ExecStart=/opt/dilib-dashboard/.venv-agent/bin/python -m agent.main
Restart=on-failure
RestartSec=5
TimeoutStopSec=90
UMask=0077
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/dilib-agent
[Install]
WantedBy=multi-user.target