Compare commits

...

2 commits

Author SHA1 Message Date
kemonine b4b899f7a8 Tweak monit config for new pf-ui daemon 2020-09-15 23:13:37 +00:00
kemonine 1c354a554b Tweak monit config for new pf-ui daemon 2020-09-15 23:13:25 +00:00
3 changed files with 7 additions and 7 deletions

View file

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

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