Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-18 19:23:41 -06:00
parent aaf298dc7d
commit a4ec6d4265

View File

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