diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 5942830d..d7bac21b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -951,26 +951,26 @@ GUI(){ checkdocker) CHECK_DOCKER_SERVICES ${2};; set-permissions) SET-PERMISSIONS ${2};; service) - if [[ ( "${2}" = "giteax" ) || ( "${2}" = "powerdns-admin" ) ]] && [ "$3" = "start" ]; then + if [[ ( "${2}" = "giteaxx" ) || ( "${2}" = "powerdns-adminxx" ) ]] && [ "$3" = "start" ]; then #SET-PERMISSIONS ${2} SERVICE_MGMT ${2} start - elif [[ ( "${2}" = "giteax" ) || ( "${2}" = "powerdns-admin" ) ]] && [ "$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} - SERVICE_MGMT php7.2-fpm ${3} ${4} - SERVICE_MGMT php7.3-fpm ${3} ${4} - SERVICE_MGMT php7.4-fpm ${3} ${4} - SERVICE_MGMT php8.2-fpm ${3} ${4} + 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 nginx ${3} ${4} elif [ "${2}" = "glusterdxx" ]; then SERVICE_MGMT glusterd stop else - SERVICE_MGMT ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} + SERVICE_MGMT ${2} ${3} ${4} ${5} ${6} fi;; - singleservercheck) SINGLE_SERVER_SERVICE_CHECK ${2} ${3};; + singleservercheck) SINGLE_SERVER_SERVICE_CHECK ${2} ${3} ${4} ${5} ${6};; haproxy-config) HAPROXY-CONFIG;; keepalive-config) KEEPALIVE-CONFIG;; vc-ssl) VCENTER-SSL ${2};;