Update nodemgmt-scripts.sh
This commit is contained in:
@@ -951,26 +951,26 @@ GUI(){
|
|||||||
checkdocker) CHECK_DOCKER_SERVICES ${2};;
|
checkdocker) CHECK_DOCKER_SERVICES ${2};;
|
||||||
set-permissions) SET-PERMISSIONS ${2};;
|
set-permissions) SET-PERMISSIONS ${2};;
|
||||||
service)
|
service)
|
||||||
if [[ ( "${2}" = "giteax" ) || ( "${2}" = "powerdns-admin" ) ]] && [ "$3" = "start" ]; then
|
if [[ ( "${2}" = "giteaxx" ) || ( "${2}" = "powerdns-adminxx" ) ]] && [ "$3" = "start" ]; then
|
||||||
#SET-PERMISSIONS ${2}
|
#SET-PERMISSIONS ${2}
|
||||||
SERVICE_MGMT ${2} start
|
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
|
SERVICE_MGMT ${2} stop
|
||||||
#SET-PERMISSIONS ${2}
|
#SET-PERMISSIONS ${2}
|
||||||
SERVICE_MGMT ${2} start
|
SERVICE_MGMT ${2} start
|
||||||
elif [ "${2}" = "web" ]; then
|
elif [ "${2}" = "web" ]; then
|
||||||
SERVICE_MGMT php5.6-fpm ${3} ${4}
|
SERVICE_MGMT php5.6-fpm ${3} ${4} ${5} ${6}
|
||||||
SERVICE_MGMT php7.2-fpm ${3} ${4}
|
SERVICE_MGMT php7.2-fpm ${3} ${4} ${5} ${6}
|
||||||
SERVICE_MGMT php7.3-fpm ${3} ${4}
|
SERVICE_MGMT php7.3-fpm ${3} ${4} ${5} ${6}
|
||||||
SERVICE_MGMT php7.4-fpm ${3} ${4}
|
SERVICE_MGMT php7.4-fpm ${3} ${4} ${5} ${6}
|
||||||
SERVICE_MGMT php8.2-fpm ${3} ${4}
|
SERVICE_MGMT php8.2-fpm ${3} ${4} ${5} ${6}
|
||||||
SERVICE_MGMT nginx ${3} ${4}
|
SERVICE_MGMT nginx ${3} ${4}
|
||||||
elif [ "${2}" = "glusterdxx" ]; then
|
elif [ "${2}" = "glusterdxx" ]; then
|
||||||
SERVICE_MGMT glusterd stop
|
SERVICE_MGMT glusterd stop
|
||||||
else
|
else
|
||||||
SERVICE_MGMT ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10}
|
SERVICE_MGMT ${2} ${3} ${4} ${5} ${6}
|
||||||
fi;;
|
fi;;
|
||||||
singleservercheck) SINGLE_SERVER_SERVICE_CHECK ${2} ${3};;
|
singleservercheck) SINGLE_SERVER_SERVICE_CHECK ${2} ${3} ${4} ${5} ${6};;
|
||||||
haproxy-config) HAPROXY-CONFIG;;
|
haproxy-config) HAPROXY-CONFIG;;
|
||||||
keepalive-config) KEEPALIVE-CONFIG;;
|
keepalive-config) KEEPALIVE-CONFIG;;
|
||||||
vc-ssl) VCENTER-SSL ${2};;
|
vc-ssl) VCENTER-SSL ${2};;
|
||||||
|
|||||||
Reference in New Issue
Block a user