Update nodemgmt-scripts.sh
This commit is contained in:
@@ -23,6 +23,7 @@ case "$1" in
|
||||
service)
|
||||
if [ "$2" = "nginx" ]; then SER='NGINX'
|
||||
elif [ "$2" = "haproxy" ]; then SER='HAProxy'
|
||||
elif [ "$2" = "mysql" ]; then SER='MySQL'
|
||||
elif [ "$2" = "gogs" ]; then SER='Gogs'
|
||||
fi
|
||||
if [ "$3" = "stop" ]; then ADISP='Stopp'; else ADISP="$(tr '[:lower:]' '[:upper:]' <<< ${3:0:1})${3:1}"; fi
|
||||
|
||||
Reference in New Issue
Block a user