Update systemd script

This commit is contained in:
Jason Streifling 2025-01-07 09:54:46 +01:00
parent 544dddc893
commit c0e446d6d9

View File

@ -1,9 +1,14 @@
[Unit]
Description=cpolis
After=network.target
[Service]
ExecStart=/usr/local/bin/cpolis
Restart=on-failure
User=cpolis
Group=cpolis
Restart=always
RestartSec=2s
Type=simple
[Install]
WantedBy=default.target
WantedBy=multi-user.target