Ensure that the directory `/run/lighttpd` exists, and that it is owned by www-data. How did this work before?!
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
13cdfda3ee
commit
90df84553a
|
@ -118,6 +118,11 @@ ensure_basic_configuration() {
|
|||
cp /etc/.pihole/advanced/01-pihole.conf /etc/dnsmasq.d/
|
||||
fi;
|
||||
|
||||
# Ensure that /run/lighttpd exists for the php socket, and is owned by www-data.
|
||||
# Without this, the web interface will return a 503. Not sure how this used to work, as this was always the directory that was used in previous versions of the image.
|
||||
mkdir -p /run/lighttpd
|
||||
chown www-data:www-data /run/lighttpd
|
||||
|
||||
# setup_or_skip_gravity
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue