first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=EPI-Support Monitor – Hintergrund-Abruf (Poller)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/var/www/html/episupport
|
||||
EnvironmentFile=/var/www/html/episupport/.env
|
||||
ExecStart=/var/www/html/episupport/venv/bin/python run_poller.py
|
||||
Restart=on-failure
|
||||
RestartSec=15
|
||||
|
||||
# Härtung
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
||||
ReadWritePaths=/var/www/html/episupport/data
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user