cc-2055: switch to init.d

-monit is now temporarily disabled when intentionally stopped a service
This commit is contained in:
martin 2011-06-16 20:01:37 -04:00
parent ec6db96025
commit 2f5a1c4df6
6 changed files with 31 additions and 4 deletions

View file

@ -1,5 +1,10 @@
set daemon 10 # Poll at 10 second intervals
set logfile syslog facility log_daemon
set httpd port 2812 and use address 127.0.0.1
allow localhost
allow admin:monit
check process airtime-playout
with pidfile "/var/run/airtime-playout.pid"
start program = "/etc/init.d/airtime-playout start" with timeout 10 seconds