update
This commit is contained in:
@@ -258,7 +258,7 @@ HAPROXY-CONFIG() {
|
||||
nid=`expr $nid + 1`
|
||||
done
|
||||
fi
|
||||
SERVICE haproxy reload
|
||||
SERVICE_MGMT haproxy reload
|
||||
echo
|
||||
echo -e "${idsCL[Green]}HAProxy Config Files have been created.${idsCL[Default]}"
|
||||
echo
|
||||
@@ -309,7 +309,7 @@ KEEPALIVE-CONFIG() {
|
||||
nid=`expr $nid + 1`
|
||||
done
|
||||
fi
|
||||
SERVICE keepalived reload
|
||||
SERVICE_MGMT keepalived reload
|
||||
echo
|
||||
echo -e "${idsCL[Green]}Keepalive Config Files have been created.${idsCL[Default]}"
|
||||
echo
|
||||
@@ -962,22 +962,22 @@ GUI(){
|
||||
|
||||
elif [[ ( "${2}" = "giteax" ) || ( "${2}" = "powerdns-admin" ) ]] && [ "$3" = "start" ]; then
|
||||
#SET-PERMISSIONS ${2}
|
||||
SERVICE ${2} start
|
||||
SERVICE_MGMT ${2} start
|
||||
elif [[ ( "${2}" = "giteax" ) || ( "${2}" = "powerdns-admin" ) ]] && [ "$3" = "restart" ]; then
|
||||
SERVICE ${2} stop
|
||||
SERVICE_MGMT ${2} stop
|
||||
#SET-PERMISSIONS ${2}
|
||||
SERVICE ${2} start
|
||||
SERVICE_MGMT ${2} start
|
||||
elif [ "${2}" = "web" ]; then
|
||||
SERVICE php5.6-fpm ${3} ${4}
|
||||
SERVICE php7.2-fpm ${3} ${4}
|
||||
SERVICE php7.3-fpm ${3} ${4}
|
||||
SERVICE php7.4-fpm ${3} ${4}
|
||||
SERVICE php8.2-fpm ${3} ${4}
|
||||
SERVICE nginx ${3} ${4}
|
||||
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 nginx ${3} ${4}
|
||||
elif [ "${2}" = "glusterdxx" ]; then
|
||||
SERVICE glusterd stop
|
||||
SERVICE_MGMT glusterd stop
|
||||
else
|
||||
SERVICE ${2} ${3} ${4} ${5} ${6}
|
||||
SERVICE_MGMT ${2} ${3} ${4} ${5} ${6}
|
||||
fi;;
|
||||
singleservercheck) SINGLE_SERVER_SERVICE_CHECK ${2} ${3};;
|
||||
haproxy-config) HAPROXY-CONFIG;;
|
||||
|
||||
Reference in New Issue
Block a user