mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-09 07:30:56 +00:00
ensure fastcgi socket directory and permissions
This commit is contained in:
parent
b31931c907
commit
9c26bdd676
@ -544,6 +544,8 @@ installConfigs() {
|
|||||||
$SUDO mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig
|
$SUDO mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig
|
||||||
fi
|
fi
|
||||||
$SUDO cp /etc/.pihole/advanced/$LIGHTTPD_CFG /etc/lighttpd/lighttpd.conf
|
$SUDO cp /etc/.pihole/advanced/$LIGHTTPD_CFG /etc/lighttpd/lighttpd.conf
|
||||||
|
$SUDO mkdir -p /var/run/lighttpd
|
||||||
|
$SUDO chown $LIGHTTPD_USER:$LIGHTTPD_GROUP /var/run/lighttpd
|
||||||
$SUDO mkdir -p /var/cache/lighttpd/compress
|
$SUDO mkdir -p /var/cache/lighttpd/compress
|
||||||
$SUDO chown $LIGHTTPD_USER:$LIGHTTPD_GROUP /var/cache/lighttpd/compress
|
$SUDO chown $LIGHTTPD_USER:$LIGHTTPD_GROUP /var/cache/lighttpd/compress
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user