aboutsummaryrefslogtreecommitdiffhomepage
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorAgileVirus <agilevirus@pop-os.localdomain>2020-07-09 18:47:33 +0100
committerAgileVirus <agilevirus@pop-os.localdomain>2020-07-09 18:47:33 +0100
commitfd9237eb52affce2d202ff3f21ef47a8bb3cf542 (patch)
tree66735ac61bb428678646340074972ce2f5b6ab1b /entrypoint.sh
parent4bfcc5bc955257d66b792a00f1ca44fa42616255 (diff)
downloadhomer-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.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"