diff --git a/start.sh b/start.sh index 9bc1371..8a4ee8d 100755 --- a/start.sh +++ b/start.sh @@ -2,8 +2,7 @@ # ## Script to kick off Couchpotato Movies media orgnaiser # -addgroup -g $GID coucpotato -adduser -D -u $UID -G couchpotato -H couchpotato -chown -R $UID:$GID /couchpotato -su - $UID -/usr/bin/python2 /couchpotato/CouchPotato.py --console_log --data_dir=/config +addgroup -g $GID $USER +adduser -D -u $UID -G $USER -H $USER +chown -R $UID:$GID /couchpotato /config +su - $USER -c "/usr/bin/python2 /couchpotato/CouchPotato.py --console_log --data_dir=/config"