diff options
author | AgileVirus <agilevirus@pop-os.localdomain> | 2020-07-09 18:47:33 +0100 |
---|---|---|
committer | AgileVirus <agilevirus@pop-os.localdomain> | 2020-07-09 18:47:33 +0100 |
commit | fd9237eb52affce2d202ff3f21ef47a8bb3cf542 (patch) | |
tree | 66735ac61bb428678646340074972ce2f5b6ab1b /entrypoint.sh | |
parent | 4bfcc5bc955257d66b792a00f1ca44fa42616255 (diff) | |
download | homer-fd9237eb52affce2d202ff3f21ef47a8bb3cf542.tar.gz homer-fd9237eb52affce2d202ff3f21ef47a8bb3cf542.tar.zst homer-fd9237eb52affce2d202ff3f21ef47a8bb3cf542.zip |
Added su-exec to ARM dockerfiles and removed USER line
Diffstat (limited to 'entrypoint.sh')
-rw-r--r-- | entrypoint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entrypoint.sh b/entrypoint.sh index dd55cdb..f1a8c22 100644 --- a/entrypoint.sh +++ b/entrypoint.sh | |||
@@ -11,5 +11,5 @@ fi | |||
11 | # Install default config if no one is available. | 11 | # Install default config if no one is available. |
12 | yes n | cp -i /www/default-assets/config.yml.dist /www/assets/config.yml &> /dev/null | 12 | yes n | cp -i /www/default-assets/config.yml.dist /www/assets/config.yml &> /dev/null |
13 | 13 | ||
14 | chown -R $UID:$GID /www/assets/* | 14 | chown -R $UID:$GID /www/assets |
15 | exec su-exec $USER:$GROUP darkhttpd /www/ --no-listing --port "$PORT" | 15 | exec su-exec $UID:$GID darkhttpd /www/ --no-listing --port "$PORT" |