From a3966b0ec3462a4d29cf7d77df9944394e518356 Mon Sep 17 00:00:00 2001 From: Doug Bradbury Date: Tue, 24 Sep 2024 16:08:12 -0500 Subject: [PATCH] Update docker-entrypoint.sh Co-authored-by: J0WI --- docker-entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index a480f2f..feece28 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -56,6 +56,8 @@ if [ ! -e matomo.php ]; then chown -R "$user":"$group" . fi -/var/www/html/console core:create-security-files +if expr "$1" : "apache" 1>/dev/null; then + /var/www/html/console core:create-security-files +fi exec "$@"