#!/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"