setting run-permissions to s6-overlay run files
All checks were successful
/ release-and-build (push) Successful in 24s
All checks were successful
/ release-and-build (push) Successful in 24s
This commit is contained in:
6
root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run
Normal file → Executable file
6
root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run
Normal file → Executable file
@@ -5,7 +5,7 @@ echo "Start: init-lighttpd-config run script"
|
|||||||
mkdir -p /config /app/www
|
mkdir -p /config /app/www
|
||||||
|
|
||||||
if [ ! -f /config/lighttpd.conf ]; then
|
if [ ! -f /config/lighttpd.conf ]; then
|
||||||
echo "Kopiere Standard-Config..."
|
echo "Copy default-config..."
|
||||||
cp /defaults/lighttpd.conf /config/lighttpd.conf
|
cp /defaults/lighttpd.conf /config/lighttpd.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -13,8 +13,8 @@ if [ ! -f /app/www/index.html ]; then
|
|||||||
echo "<h1>Es funktioniert!</h1>" > /app/www/index.html
|
echo "<h1>Es funktioniert!</h1>" > /app/www/index.html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Setze Berechtigungen auf PUID: ${PUID:-911} und PGID: ${PGID:-1000}"
|
echo "Set permissions to PUID: ${PUID:-911} and PGID: ${PGID:-1000}"
|
||||||
chown -R "${PUID:-911}:${PGID:-1000}" /config
|
chown -R "${PUID:-911}:${PGID:-1000}" /config
|
||||||
chown -R "${PUID:-911}:${PGID:-1000}" /app/www
|
chown -R "${PUID:-911}:${PGID:-1000}" /app/www
|
||||||
|
|
||||||
echo "Ende: init-lighttpd-config"
|
echo "Finish: init-lighttpd-config"
|
||||||
0
root/etc/s6-overlay/s6-rc.d/svc-lighttpd/run
Normal file → Executable file
0
root/etc/s6-overlay/s6-rc.d/svc-lighttpd/run
Normal file → Executable file
Reference in New Issue
Block a user