From 49939239c283778ba470fd1fd38554f03f15fe51 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Thu, 28 May 2020 16:26:42 +0800 Subject: [PATCH] modified: start.sh Updated startup script --- start.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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"