fix chown (closes #103)

This commit is contained in:
Wonderfall
2017-01-22 02:57:17 +01:00
parent 4859a5e5f2
commit 0c396e9d96
2 changed files with 4 additions and 2 deletions

View File

@ -5,5 +5,6 @@ if [ ! -f /config/config.ini.php ]; then
fi
ln -s /config/config.ini.php /piwik/config/config.ini.php
chown -R $UID:$GID /piwik/config /piwik/tmp /config /var/log /etc/nginx /etc/php7 /var/lib/nginx /tmp /etc/s6.d
mv piwik fix && mv fix piwik # fix strange bug
chown -R $UID:$GID /piwik /config /var/log /etc/nginx /etc/php7 /var/lib/nginx /tmp /etc/s6.d
exec su-exec $UID:$GID /bin/s6-svscan /etc/s6.d