ContainerImage.LighttpdPHPP.../init/entrypoint.sh
Danny Bessems 66e252a8c1
Some checks reported errors
continuous-integration/drone/push Build was killed
Update 'init/entrypoint.sh'
2019-11-27 09:29:07 +00:00

8 lines
252 B
Bash

#!/bin/sh
# Allow Lighttpd to log as normal
chown -R www-data /var/log/lighttpd && chmod -R u+rw /var/log/lighttpd
# Duplicate log entries to stdout/stderr
tail -F -n 0 /var/log/lighttpd/access.log /var/log/lighttpd/error.log 2> /dev/null &
exec "$@"