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:
parent
44d83051b1
commit
1f4c08b1a3
1 changed files with 1 additions and 3 deletions
|
@ -8,7 +8,5 @@ echo "*** Daemontools: starting daemon"
|
|||
cd ${recorder_path}
|
||||
exec 2>&1
|
||||
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
|
||||
exec setuidgid ${recorder_user} \
|
||||
python -u ${recorder_path}${recorder_script} \
|
||||
-f
|
||||
exec sudo python -u ${recorder_path}${recorder_script} -f
|
||||
# EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue