diff --git a/couchpotato.sh b/couchpotato.sh index 71396a8..c2778a9 100644 --- a/couchpotato.sh +++ b/couchpotato.sh @@ -42,4 +42,4 @@ echo "[DONE]" CONFIG=${CONFIG:-/datadir/config.ini} echo "Starting CouchPotato..." -exec ./CouchPotato.py --data_dir=$(dirname ${CONFIG}) --config_file=${CONFIG} +exec su -pc "./CouchPotato.py --data_dir=$(dirname ${CONFIG}) --config_file=${CONFIG}" ${USER}