Compare commits
2 commits
bd2adfa9b1
...
b4b899f7a8
Author | SHA1 | Date | |
---|---|---|---|
kemonine | b4b899f7a8 | ||
kemonine | 1c354a554b |
|
@ -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
|
||||
|
|
|
@ -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
|
5
roles/monit/templates/pf-ui
Normal file
5
roles/monit/templates/pf-ui
Normal 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
|
Loading…
Reference in a new issue