add Restart=on-failure
This commit is contained in:
parent
f5eebbb5fb
commit
80682c5cc5
@ -13,6 +13,7 @@ ExecReload=/usr/bin/pvescheduler restart
|
||||
PIDFile=/var/run/pvescheduler.pid
|
||||
KillMode=process
|
||||
Type=forking
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -10,6 +10,7 @@ ExecStop=/usr/bin/pvestatd stop
|
||||
ExecReload=/usr/bin/pvestatd restart
|
||||
PIDFile=/run/pvestatd.pid
|
||||
Type=forking
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user