Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user