From 67d79b97e4dae8dbf7f246c9759816c53784f9c2 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Tue, 28 Aug 2012 15:32:25 -0400 Subject: [PATCH] CC-4114: separate Liquidsoap into its own init.d script -changed my mind - don't restart liquidsoap if pypo restarts --- python_apps/pypo/airtime-playout | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/python_apps/pypo/airtime-playout b/python_apps/pypo/airtime-playout index 916ba5da5..56aa587cd 100755 --- a/python_apps/pypo/airtime-playout +++ b/python_apps/pypo/airtime-playout @@ -26,17 +26,6 @@ export LC_ALL=`cat /etc/default/locale | grep "LANG=" | cut -d= -f2 | tr -d "\n\ export TERM=xterm -#If Pypo is starting from scratch let's restart Liquidsoap as well. This is so -#that the Liquidsoap queue #is emptied and we can start from a known state. -/etc/init.d/airtime-liquidsoap status -status="$?" - -if [ "$status" == "0" ]; then - /etc/init.d/airtime-liquidsoap restart -else - /etc/init.d/airtime-liquidsoap start -fi - exec python ${pypo_path}${pypo_script} > /var/log/airtime/pypo/py-interpreter.log 2>&1 # EOF