diff --git a/defaults.inc b/defaults.inc index 2721838b..8bdeff77 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='4.7.119-06192023' +VERS='4.7.120-06212023' # NODETYPES=WEB NODETYPES=LB,LPD,MM,MYSQL,NC,PW,WPD,WM,WEB diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 173ba66b..ce85c5a4 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -509,7 +509,7 @@ SERVICE(){ fi - if [ "${1}" = "nginx-x" ]; then + if [ "${1}" = "nginx" ] && [ "${NODE_TYPE}" == "LB" ]; then if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then if [ "${3}" != "ns" ]; then if [ "${3}" != "q" ]; then