CC-1630 : Automatic recording of shows

need to run show recorder as root to have access to soundcard using daemontools
This commit is contained in:
naomiaro 2011-03-23 00:33:46 -04:00
parent 44d83051b1
commit 1f4c08b1a3

View file

@ -8,7 +8,5 @@ echo "*** Daemontools: starting daemon"
cd ${recorder_path} cd ${recorder_path}
exec 2>&1 exec 2>&1
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr # Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
exec setuidgid ${recorder_user} \ exec sudo python -u ${recorder_path}${recorder_script} -f
python -u ${recorder_path}${recorder_script} \
-f
# EOF # EOF