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;;