Update nodemgmt-scripts.sh

This commit is contained in:
2023-07-06 22:07:10 -05:00
parent 19b5bdb637
commit 12bfb9485d

View File

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