new php-fpm check

This commit is contained in:
2025-10-29 11:51:17 +01:00
parent bd058ff16f
commit b7841af796

View File

@@ -62,7 +62,7 @@ checkservice() {
inputcheck () { if [[ -z "$1" ]]; then usage ; printf "ERROR: DOMAIN CANNOT BE EMPTY!\n\n" ; exit; fi; } inputcheck () { if [[ -z "$1" ]]; then usage ; printf "ERROR: DOMAIN CANNOT BE EMPTY!\n\n" ; exit; fi; }
# #
# If Nginx or PHP-Fpm is not running the die. # If Nginx or PHP-Fpm is not running then die.
# #
checkservice nginx mustberunning ; checkservice "$phpfpm" mustberunning checkservice nginx mustberunning ; checkservice "$phpfpm" mustberunning