docker-matomo/root/etc/s6.d/matomo/run
Jan Christian Grünhage 5bc0e7e8e4
All checks were successful
the build was successful
fix: recursively chown directories
2018-04-17 15:26:44 +01:00

10 lines
298 B
Bash
Executable file

#!/bin/bash
if [[ ! -f /config/config.ini.php ]] && [[ -f /matomo/config/config.ini.php ]]; then
cp /matomo/config/config.ini.php /config/config.ini.php
fi
ln -s /config/config.ini.php /matomo/config/config.ini.php
chown -R ${UID}:${GID} /config /matomo /var/log/php7
s6-svc -O /etc/s6.d/matomo