diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 53289be..feece28 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -56,4 +56,8 @@ if [ ! -e matomo.php ]; then chown -R "$user":"$group" . fi +if expr "$1" : "apache" 1>/dev/null; then + /var/www/html/console core:create-security-files +fi + exec "$@"