Update systemd script
This commit is contained in:
parent
544dddc893
commit
c0e446d6d9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user