CC-2888: Create a monit file for each airtime component

This commit is contained in:
martin 2011-09-26 12:51:02 -04:00
parent 3f1ea46d3d
commit 974612badf
17 changed files with 100 additions and 16 deletions

View file

@ -0,0 +1,9 @@
set daemon 10 # Poll at 5 second intervals
set logfile /var/log/monit.log
set httpd port 2812
check process airtime-liquidsoap
with pidfile "/var/run/airtime-liquidsoap.pid"
start program = "/etc/init.d/airtime-playout monit-restart" with timeout 5 seconds
stop program = "/etc/init.d/airtime-playout stop"