diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-07-12 21:09:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-12 21:09:42 -0700 |
commit | 6de53c49b357df0bb77f1ea5edef20dec6cf3133 (patch) | |
tree | 8be01b854e29226938e0d62fd85e72489898d5be /entrypoint.sh | |
parent | ab40c4e007c40f3d059ede3a912b9e180e04c274 (diff) | |
parent | fd9237eb52affce2d202ff3f21ef47a8bb3cf542 (diff) | |
download | homer-6de53c49b357df0bb77f1ea5edef20dec6cf3133.tar.gz homer-6de53c49b357df0bb77f1ea5edef20dec6cf3133.tar.zst homer-6de53c49b357df0bb77f1ea5edef20dec6cf3133.zip |
Merge pull request #108 from GlennToms/masterv20.07.2
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" |