You've already forked dokuwiki-ubuntu
new php-fpm check
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user