This commit is contained in:
2023-06-21 21:31:51 -05:00
parent 42b51fe0ae
commit 96c0f84be2
2 changed files with 2 additions and 2 deletions

View File

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