Now service will restart if program fails.
This commit is contained in:
parent
aede45a865
commit
2b9774cbff
@ -6,6 +6,7 @@ After=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
User=nobody
|
User=nobody
|
||||||
Group=nobody
|
Group=nobody
|
||||||
|
Restart=on-failure
|
||||||
ExecStart=/usr/bin/httpprocwatchd --config /etc/httpprocwatchd/config.json
|
ExecStart=/usr/bin/httpprocwatchd --config /etc/httpprocwatchd/config.json
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user