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
- 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

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