cc-2055: switch to init.d
-Change all python apps to log directly to file -change airtime-pypo to airtime-playback -fix airtime install started/completed message bumpers
This commit is contained in:
parent
c05c2f1e28
commit
79e24e5af5
26 changed files with 75 additions and 269 deletions
15
python_apps/pypo/airtime-liquidsoap
Executable file
15
python_apps/pypo/airtime-liquidsoap
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
ls_user="pypo"
|
||||
export HOME="/var/tmp/airtime/pypo/"
|
||||
api_client_path="/usr/lib/airtime/pypo/"
|
||||
ls_path="/usr/lib/airtime/pypo/bin/liquidsoap/liquidsoap"
|
||||
ls_param="/usr/lib/airtime/pypo/bin/scripts/ls_script.liq"
|
||||
echo "*** Daemontools: starting liquidsoap"
|
||||
exec 2>&1
|
||||
|
||||
cd /usr/lib/airtime/pypo/bin/scripts
|
||||
|
||||
export PYTHONPATH=${api_client_path}
|
||||
exec ${ls_path} ${ls_param}
|
||||
|
||||
# EOF
|
Loading…
Add table
Add a link
Reference in a new issue