CC-2016: Rearrange python scripts for reusability
-bug fix with liquidsoap not being to see the soundcard
This commit is contained in:
parent
a6b1b51fc2
commit
26ac9754bf
|
@ -11,6 +11,5 @@ PYTHONPATH=${api_client_path}:$PYTHONPATH
|
||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
|
|
||||||
cd /opt/pypo/bin/scripts
|
cd /opt/pypo/bin/scripts
|
||||||
exec setuidgid ${ls_user} \
|
sudo -u ${ls_user} ${ls_path} ${ls_param}
|
||||||
${ls_path} ${ls_param}
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# needed here to keep dirs/configs clean #
|
# needed here to keep dirs/configs clean #
|
||||||
# and maybe to set user-rights #
|
# and maybe to set user-rights #
|
||||||
############################################
|
############################################
|
||||||
pwd
|
|
||||||
|
|
||||||
# Absolute path to this script
|
# Absolute path to this script
|
||||||
SCRIPT=`readlink -f $0`
|
SCRIPT=`readlink -f $0`
|
||||||
|
|
Loading…
Reference in New Issue