cc-2055: switch to init.d

-fix uninstall scripts
-make daemon script for media-monitor and show-recorder
-create pid file for liquidsoap
-fix airtime-check-system
-make sure all startup scripts are using exec
This commit is contained in:
martin 2011-05-31 18:55:22 -04:00
parent 79e24e5af5
commit 079d9d36b0
14 changed files with 192 additions and 98 deletions

View file

@ -16,10 +16,11 @@ exec 2>&1
export PYTHONPATH=${api_client_path}
su ${recorder_user} -c "python -u ${recorder_path}${recorder_script}"
#this line works: su ${recorder_user} -c "python -u ${recorder_path}${recorder_script}"
exec python -u ${recorder_path}${recorder_script}
#ecasound does not work when recorder script is called with setuidgid.
#setuidgid ${recorder_user} python -u ${recorder_path}${recorder_script}
# EOF