diff --git a/python_apps/pypo/install/pypo-daemontools-liquidsoap.sh b/python_apps/pypo/install/pypo-daemontools-liquidsoap.sh index 2b4ce0df4..b0ae7377a 100644 --- a/python_apps/pypo/install/pypo-daemontools-liquidsoap.sh +++ b/python_apps/pypo/install/pypo-daemontools-liquidsoap.sh @@ -11,6 +11,5 @@ PYTHONPATH=${api_client_path}:$PYTHONPATH export PYTHONPATH cd /opt/pypo/bin/scripts -exec setuidgid ${ls_user} \ - ${ls_path} ${ls_param} +sudo -u ${ls_user} ${ls_path} ${ls_param} # EOF diff --git a/python_apps/pypo/scripts/notify.sh b/python_apps/pypo/scripts/notify.sh index 8c407282b..07a70f5d0 100755 --- a/python_apps/pypo/scripts/notify.sh +++ b/python_apps/pypo/scripts/notify.sh @@ -4,7 +4,6 @@ # needed here to keep dirs/configs clean # # and maybe to set user-rights # ############################################ -pwd # Absolute path to this script SCRIPT=`readlink -f $0`