Tweak monit config for new pf-ui daemon

This commit is contained in:
kemonine 2020-09-15 23:13:37 +00:00
parent 1c354a554b
commit b4b899f7a8
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
check process pf-ui matching /usr/local/bin/pf-ui
start program = "/usr/bin/systemctl start pf-ui"
stop program = "/usr/bin/systemctl stop pf-ui"
if does not exist then alert
if does not exist for 2 cycles then restart