Compare commits
No commits in common. "b4b899f7a80f8ca19fde94ab4e138ea4f6fff2a0" and "bd2adfa9b1d91c992f00263e7836dfaf543b248b" have entirely different histories.
b4b899f7a8
...
bd2adfa9b1
|
@ -57,8 +57,8 @@
|
|||
- monit-wireguard
|
||||
- name: Setup slideshow monitoring
|
||||
template:
|
||||
src: pf-ui
|
||||
dest: "/etc/monit/conf.d/pf-ui"
|
||||
src: fim
|
||||
dest: "/etc/monit/conf.d/fim"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
|
|
5
roles/monit/templates/fim
Normal file
5
roles/monit/templates/fim
Normal file
|
@ -0,0 +1,5 @@
|
|||
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
|
|
@ -1,5 +0,0 @@
|
|||
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
|
Loading…
Reference in a new issue