From 12bfb9485d6f95cf2099ad861333aec5a9f5ccf9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 6 Jul 2023 22:07:10 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b05c3e6e..a47d807b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -412,7 +412,7 @@ SERVICE(){ fi - if [ "${1}" = "nginx" ]; then + if [ "${1}" = "nginx" ] && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then [ "${RUN_NODE_TYPE}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] && if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then