Update systemd script
This commit is contained in:
parent
544dddc893
commit
c0e446d6d9
@ -1,9 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=cpolis
|
Description=cpolis
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/cpolis
|
ExecStart=/usr/local/bin/cpolis
|
||||||
Restart=on-failure
|
User=cpolis
|
||||||
|
Group=cpolis
|
||||||
|
Restart=always
|
||||||
|
RestartSec=2s
|
||||||
|
Type=simple
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user