From 4c3d2b20db3126c490f019e586e5bf8ed2b46e2c Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Tue, 28 May 2013 15:54:31 -0400 Subject: [PATCH] CC-5123 Pypo: Redundant Pypopush happens after restart pypo service -if does not exist does not work on pre 5.2 monit version --- python_apps/pypo/monit-pre530-airtime-liquidsoap.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python_apps/pypo/monit-pre530-airtime-liquidsoap.cfg b/python_apps/pypo/monit-pre530-airtime-liquidsoap.cfg index 4b3bc7927..40c0b8338 100644 --- a/python_apps/pypo/monit-pre530-airtime-liquidsoap.cfg +++ b/python_apps/pypo/monit-pre530-airtime-liquidsoap.cfg @@ -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"