mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 07:31:09 +01:00
Restart php-fpm after _install_dependencies()
This commit is contained in:
@@ -289,6 +289,7 @@ function _install_dependencies() {
|
||||
_install_log "Enabling lighttpd fastcgi-php-fpm module for $php_package"
|
||||
sudo lighty-enable-mod fastcgi-php-fpm 2>&1 | grep -qE "already enabled" || \
|
||||
_install_status 1 "Unable to enable fastcgi-php-fpm module"
|
||||
sudo systemctl restart $php_package.service || _install_status 1 "Unable to restart $php_package.service"
|
||||
fi
|
||||
_install_status 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user