Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-28 13:12:13 -06:00
parent 93bbd0fa1e
commit 93f141277b

View File

@@ -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