CC-2735: Upgrade script for 1.9.3
- general upgrade script - uncommented media monitor section in Monit config file
This commit is contained in:
parent
ad620577be
commit
ad5d669309
9 changed files with 508 additions and 0 deletions
23
install_minimal/upgrades/airtime-1.9.3/airtime-monit.cfg.193
Normal file
23
install_minimal/upgrades/airtime-1.9.3/airtime-monit.cfg.193
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
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
|
||||
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-show-recorder
|
||||
with pidfile "/var/run/airtime-show-recorder.pid"
|
||||
start program = "/etc/init.d/airtime-show-recorder start" with timeout 10 seconds
|
||||
stop program = "/etc/init.d/airtime-show-recorder stop"
|
Loading…
Add table
Add a link
Reference in a new issue