CC-2721: Pypo doesn't restart when it gets new stream setting

- fixed
This commit is contained in:
James 2011-08-23 11:13:06 -04:00
parent 078aa1d05d
commit 88d3fa73be
3 changed files with 17 additions and 11 deletions

View file

@ -1,5 +1,6 @@
set daemon 10 # Poll at 10 second intervals
set logfile syslog facility log_daemon
#set logfile syslog facility log_daemon
set logfile /var/log/monit.log
set httpd port 2812 and use address 127.0.0.1
allow localhost
@ -7,16 +8,16 @@
check process airtime-playout
with pidfile "/var/run/airtime-playout.pid"
start program = "/etc/init.d/airtime-playout start" with timeout 10 seconds
start program = "/etc/init.d/airtime-playout restart" with timeout 5 seconds
stop program = "/etc/init.d/airtime-playout stop"
check process airtime-liquidsoap
with pidfile "/var/run/airtime-liquidsoap.pid"
start program = "/etc/init.d/airtime-playout start" with timeout 10 seconds
start program = "/etc/init.d/airtime-playout restart" with timeout 5 seconds
stop program = "/etc/init.d/airtime-playout stop"
# check process airtime-media-monitor
# with pidfile "/var/run/airtime-media-monitor.pid"
# start program = "/etc/init.d/airtime-media-monitor start" with timeout 10 seconds
# stop program = "/etc/init.d/airtime-media-monitor stop"
check process airtime-media-monitor
with pidfile "/var/run/airtime-media-monitor.pid"
start program = "/etc/init.d/airtime-media-monitor start" with timeout 10 seconds
stop program = "/etc/init.d/airtime-media-monitor stop"
check process airtime-show-recorder
with pidfile "/var/run/airtime-show-recorder.pid"
start program = "/etc/init.d/airtime-show-recorder start" with timeout 10 seconds