diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index eaf2f2e2..3fc783e9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1421,7 +1421,7 @@ SERVICE(){ fi - if [ "${1}" = "nginx" ]; then + if [ "${1}" = "nginx-x" ]; then if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then if [ "${3}" != "ns" ]; then if [ "${3}" != "q" ]; then