Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-27 19:53:03 -06:00
parent dd50482b52
commit 3cbf000692

View File

@@ -66,12 +66,12 @@ MAIN_MENU() {
case "$1" in
service)
if [ "$3" = "nginx" ]; then SER='NGINX';
elif[ "$3" = "haproxy" ]; then SER='HAProxy';
if [ "$3" = "nginx" ]; then SER='NGINX'
elif[ "$3" = "haproxy" ]; then SER='HAProxy'
elif[ "$3" = "gogs" ]; then SER='Gogs'
fi
if [ "$2" = "start" ]; then STA='Starting';
elif[ "$3" = "stop" ]; then STA='Stopping';
if [ "$2" = "start" ]; then STA='Starting'
elif[ "$3" = "stop" ]; then STA='Stopping'
elif[ "$3" = "restart" ]; then STA='Restarting'
fi
echo -e "${idsCL[LightBlue]}${SER} ${STA}...${idsCL[Default]}"