mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-08-01 22:05:40 +00:00
boinc
boring-nginx
cowrie
ghost
isso
lychee
nextcloud
piwik
s6.d
Dockerfile
README.md
nginx.conf
php-fpm.conf
run.sh
privatebin
rtorrent-flood
searx
subsonic
tor
unmaintained
LICENSE
11 lines
362 B
Bash
11 lines
362 B
Bash
#!/bin/sh
|
|
|
|
if [ ! -f /config/config.ini.php ]; then
|
|
cp /piwik/config/config.ini.php /config/config.ini.php
|
|
fi
|
|
|
|
ln -s /config/config.ini.php /piwik/config/config.ini.php
|
|
mv piwik fix && mv fix piwik # fix strange bug
|
|
chown -R $UID:$GID /piwik /config /var/log /etc/nginx /etc/php7.1 /var/lib/nginx /tmp /etc/s6.d
|
|
exec su-exec $UID:$GID /bin/s6-svscan /etc/s6.d
|