Tweak monit config for new pf-ui daemon

This commit is contained in:
kemonine 2020-09-15 23:13:25 +00:00
parent bd2adfa9b1
commit 1c354a554b
2 changed files with 2 additions and 7 deletions

View file

@ -57,8 +57,8 @@
- monit-wireguard
- name: Setup slideshow monitoring
template:
src: fim
dest: "/etc/monit/conf.d/fim"
src: pf-ui
dest: "/etc/monit/conf.d/pf-ui"
owner: root
group: root
mode: 0600

View file

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