CC-5123 Pypo: Redundant Pypopush happens after restart pypo service
-if does not exist does not work on pre 5.2 monit version
This commit is contained in:
parent
66bb1f6d93
commit
4c3d2b20db
|
@ -3,7 +3,7 @@
|
|||
|
||||
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"
|
||||
check process airtime-liquidsoap
|
||||
with pidfile "/var/run/airtime-liquidsoap.pid"
|
||||
start program = "/etc/init.d/airtime-liquidsoap start-with-monit" with timeout 5 seconds
|
||||
stop program = "/etc/init.d/airtime-liquidsoap stop-with-monit"
|
||||
|
|
Loading…
Reference in New Issue