Skip to content

Commit

Permalink
add an example monit config
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Feb 21, 2018
1 parent 52bca9d commit 460b0b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions misc/zoneminder.monit.conf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 460b0b0

Please sign in to comment.