Revert "Ensure that the directory `/run/lighttpd` exists, and that it is owned by www-data"

This commit is contained in:
Adam Warner 2023-01-23 17:22:54 +00:00 committed by GitHub
parent 4256d62a1e
commit a1f5c6b530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -118,11 +118,6 @@ 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
}