diff --git a/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run b/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run
new file mode 100755
index 0000000..d125bbb
--- /dev/null
+++ b/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run
@@ -0,0 +1,22 @@
+#!/usr/bin/with-contenv bash
+
+echo "Start: init-lighttpd-config run script"
+
+# Verzeichnisse erstellen
+mkdir -p /config /app/www
+
+# Config kopieren
+if [ ! -f /config/lighttpd.conf ]; then
+ echo "Kopiere Standard-Config..."
+ cp /defaults/lighttpd.conf /config/lighttpd.conf
+fi
+
+# Index erstellen
+if [ ! -f /app/www/index.html ]; then
+ echo "
Es funktioniert!
" > /app/www/index.html
+fi
+
+# Rechte setzen
+chown -R abc:users /config /app/www
+
+echo "Ende: init-lighttpd-config"
\ No newline at end of file
diff --git a/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/up b/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/up
index 827b796..6422f3a 100755
--- a/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/up
+++ b/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/up
@@ -1,20 +1 @@
-#!/usr/bin/with-contenv bash
-
-# Standard-Verzeichnisse erstellen
-echo "Erstellen der Standard-Verzeichnisse..."
-mkdir -p /config /app/www
-echo "Ordner wurden angelegt"
-# Config kopieren, falls nicht vorhanden
-if [ ! -f /config/lighttpd.conf ]; then
- echo "Keine Konfiguration gefunden, kopiere Standard..."
- cp /defaults/lighttpd.conf /config/lighttpd.conf
-fi
-
-# Dummy Index-Datei erstellen, falls leer
-if [ ! -f /app/www/index.html ]; then
- echo "Es funktioniert!
Lighttpd auf Alpine.
" > /app/www/index.html
-fi
-
-# Berechtigungen korrigieren (fuer User abc)
-chown -R abc:users /config
-chown -R abc:users /app/www
\ No newline at end of file
+/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run
\ No newline at end of file