aboutsummaryrefslogtreecommitdiffhomepage
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-07-12 21:09:42 -0700
committerGitHub <noreply@github.com>2020-07-12 21:09:42 -0700
commit6de53c49b357df0bb77f1ea5edef20dec6cf3133 (patch)
tree8be01b854e29226938e0d62fd85e72489898d5be /entrypoint.sh
parentab40c4e007c40f3d059ede3a912b9e180e04c274 (diff)
parentfd9237eb52affce2d202ff3f21ef47a8bb3cf542 (diff)
downloadhomer-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.sh4
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.
12yes n | cp -i /www/default-assets/config.yml.dist /www/assets/config.yml &> /dev/null 12yes n | cp -i /www/default-assets/config.yml.dist /www/assets/config.yml &> /dev/null
13 13
14chown -R $UID:$GID /www/assets/* 14chown -R $UID:$GID /www/assets
15exec su-exec $USER:$GROUP darkhttpd /www/ --no-listing --port "$PORT" 15exec su-exec $UID:$GID darkhttpd /www/ --no-listing --port "$PORT"