Update nodemgmt-scripts.sh
This commit is contained in:
@@ -412,7 +412,7 @@ SERVICE(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "${1}" = "nginx" ]; then
|
if [ "${1}" = "nginx" ] && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
|
||||||
[ "${RUN_NODE_TYPE}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] &&
|
[ "${RUN_NODE_TYPE}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] &&
|
||||||
|
|
||||||
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user