mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
warn if lighty-enable-mod utility is not available
Fastcgi can be enabled via lighttpd configuration. This step may not be required for all distributions.
This commit is contained in:
parent
c160b2e54b
commit
c74af2c21f
1 changed files with 5 additions and 1 deletions
|
@ -751,7 +751,11 @@ installPihole() {
|
|||
$SUDO chown $LIGHTTPD_USER:$LIGHTTPD_GROUP /var/www/html
|
||||
$SUDO chmod 775 /var/www/html
|
||||
$SUDO usermod -a -G $LIGHTTPD_GROUP pihole
|
||||
if [ -x "$(command -v lighty-enable-mod)" ]; then
|
||||
$SUDO lighty-enable-mod fastcgi fastcgi-php > /dev/null
|
||||
else
|
||||
printf "\n:::\tWarning: 'lighty-enable-mod' utility not found. Please ensure fastcgi is enabled if you experience issues.\n"
|
||||
fi
|
||||
|
||||
getGitFiles
|
||||
installScripts
|
||||
|
|
Loading…
Reference in a new issue