Add '.alpine-nopwsh/init/entrypoint.sh'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
896ed094d4
commit
98a2200a6b
8
.alpine-nopwsh/init/entrypoint.sh
Normal file
8
.alpine-nopwsh/init/entrypoint.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Allow Lighttpd to log as normal
|
||||||
|
chown -R lighttpd /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 "$@"
|
Loading…
Reference in New Issue
Block a user