libretime/python_apps/pypo/monit-pre530-airtime-liquidsoap.cfg
Martin Konecny 73a908055a Revert "CC-5123 Pypo: Redundant Pypopush happens after restart pypo service"
This reverts commit 4c3d2b20db3126c490f019e586e5bf8ed2b46e2c.
2013-05-28 16:38:15 -04:00

10 lines
367 B
INI

set daemon 15 # 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"
if does not exist for 3 cycles then restart
start program = "/etc/init.d/airtime-liquidsoap start" with timeout 5 seconds
stop program = "/etc/init.d/airtime-liquidsoap stop"