From 26ac9754bfc0ed251d79ca679a57e13bc4cbef9d Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 24 Mar 2011 15:17:17 -0400 Subject: [PATCH] CC-2016: Rearrange python scripts for reusability -bug fix with liquidsoap not being to see the soundcard --- python_apps/pypo/install/pypo-daemontools-liquidsoap.sh | 3 +-- python_apps/pypo/scripts/notify.sh | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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`