mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
fix chown (closes #103)
This commit is contained in:
parent
4859a5e5f2
commit
0c396e9d96
@ -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
|
||||
|
@ -10,6 +10,7 @@ mkdir -p /data/Media/Music
|
||||
|
||||
sed -i -e "s/<FLOOD_SECRET>/$FLOOD_SECRET/g" /usr/flood/config.js
|
||||
rm -f /data/.session/rtorrent.lock
|
||||
chown -R $UID:$GID /data /home/torrent /tmp /filebot /usr/flood/server /etc/s6.d
|
||||
mv /usr/flood /usr/fix && mv /usr/fix /usr/flood # fix strange bug
|
||||
chown -R $UID:$GID /data /home/torrent /tmp /filebot /usr/flood /etc/s6.d
|
||||
|
||||
exec su-exec $GID:$UID /bin/s6-svscan /etc/s6.d
|
||||
|
Loading…
x
Reference in New Issue
Block a user