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
|
@ -751,7 +751,11 @@ installPihole() {
|
||||||
$SUDO chown $LIGHTTPD_USER:$LIGHTTPD_GROUP /var/www/html
|
$SUDO chown $LIGHTTPD_USER:$LIGHTTPD_GROUP /var/www/html
|
||||||
$SUDO chmod 775 /var/www/html
|
$SUDO chmod 775 /var/www/html
|
||||||
$SUDO usermod -a -G $LIGHTTPD_GROUP pihole
|
$SUDO usermod -a -G $LIGHTTPD_GROUP pihole
|
||||||
$SUDO lighty-enable-mod fastcgi fastcgi-php > /dev/null
|
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
|
getGitFiles
|
||||||
installScripts
|
installScripts
|
||||||
|
|
Loading…
Reference in New Issue