From a4ec6d426559c36bb28fd85c069c73087325a419 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 18 Nov 2023 19:23:41 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d7bac21b..5076d078 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -951,24 +951,24 @@ GUI(){ checkdocker) CHECK_DOCKER_SERVICES ${2};; set-permissions) SET-PERMISSIONS ${2};; service) - if [[ ( "${2}" = "giteaxx" ) || ( "${2}" = "powerdns-adminxx" ) ]] && [ "$3" = "start" ]; then + if [[ ( "${2}" = "giteaxx" ) || ( "${2}" = "powerdns-adminxx" ) ]] && [ "${3}" = "start" ]; then #SET-PERMISSIONS ${2} SERVICE_MGMT ${2} start - elif [[ ( "${2}" = "giteaxx" ) || ( "${2}" = "powerdns-adminxx" ) ]] && [ "$3" = "restart" ]; then + elif [[ ( "${2}" = "giteaxx" ) || ( "${2}" = "powerdns-adminxx" ) ]] && [ "${3}" = "restart" ]; then SERVICE_MGMT ${2} stop #SET-PERMISSIONS ${2} SERVICE_MGMT ${2} start elif [ "${2}" = "web" ]; then - SERVICE_MGMT php5.6-fpm ${3} ${4} ${5} ${6} - SERVICE_MGMT php7.2-fpm ${3} ${4} ${5} ${6} - SERVICE_MGMT php7.3-fpm ${3} ${4} ${5} ${6} - SERVICE_MGMT php7.4-fpm ${3} ${4} ${5} ${6} - SERVICE_MGMT php8.2-fpm ${3} ${4} ${5} ${6} + SERVICE_MGMT php5.6-fpm ${3} ${4} ${5} ${6} ${7} ${8} + SERVICE_MGMT php7.2-fpm ${3} ${4} ${5} ${6} ${7} ${8} + SERVICE_MGMT php7.3-fpm ${3} ${4} ${5} ${6} ${7} ${8} + SERVICE_MGMT php7.4-fpm ${3} ${4} ${5} ${6} ${7} ${8} + SERVICE_MGMT php8.2-fpm ${3} ${4} ${5} ${6} ${7} ${8} SERVICE_MGMT nginx ${3} ${4} elif [ "${2}" = "glusterdxx" ]; then SERVICE_MGMT glusterd stop else - SERVICE_MGMT ${2} ${3} ${4} ${5} ${6} + SERVICE_MGMT ${2} ${3} ${4} ${5} ${6} ${7} ${8} fi;; singleservercheck) SINGLE_SERVER_SERVICE_CHECK ${2} ${3} ${4} ${5} ${6};; haproxy-config) HAPROXY-CONFIG;;