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:
parent
8d81ecf3ad
commit
67d79b97e4
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue