CC-4114: separate Liquidsoap into its own init.d script

-changed my mind - don't restart liquidsoap if pypo restarts
This commit is contained in:
Martin Konecny 2012-08-28 15:32:25 -04:00
parent 8d81ecf3ad
commit 67d79b97e4

View file

@ -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