add an example monit config

pull/2077/head
Isaac Connor 2018-02-21 13:12:25 -05:00
parent 52bca9d3ae
commit 460b0b0ab9
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
check process zmdc.pl with pidfile /run/zm/zm.pid
if failed unixsocket /run/zm/zmdc2.sock then restart
group zm
start program = "/bin/systemctl start zoneminder"
stop program = "/bin/systemctl stop zoneminder"
#if 4 restarts within 20 cycles then timeout