setting run-permissions to s6-overlay run files
All checks were successful
/ release-and-build (push) Successful in 24s

This commit is contained in:
2026-02-23 14:47:03 +01:00
parent fa1c995ae3
commit c145f24f50
2 changed files with 3 additions and 3 deletions

6
root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run Normal file → Executable file
View File

@@ -5,7 +5,7 @@ echo "Start: init-lighttpd-config run script"
mkdir -p /config /app/www
if [ ! -f /config/lighttpd.conf ]; then
echo "Kopiere Standard-Config..."
echo "Copy default-config..."
cp /defaults/lighttpd.conf /config/lighttpd.conf
fi
@@ -13,8 +13,8 @@ if [ ! -f /app/www/index.html ]; then
echo "<h1>Es funktioniert!</h1>" > /app/www/index.html
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}" /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
View File