From 769adaf553f387fece2e7129845cd3b0b0dd3448 Mon Sep 17 00:00:00 2001 From: Miroslav Prasil Date: Thu, 20 Dec 2018 16:56:10 +0100 Subject: [PATCH] Configure log directory --- docker-startup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-startup.sh b/docker-startup.sh index 0b5a863..d904538 100755 --- a/docker-startup.sh +++ b/docker-startup.sh @@ -64,6 +64,9 @@ EOM # Ensure persmissions are set correctly chown -R www-data:www-data "$dokudir" + # Make sure log directory is present + mkdir -p /var/log/lighttpd && chown www-data:www-data /var/log/lighttpd + # Run the web server exec /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf else