From b815ab17936a0f228593c5ea927ab9bca8296c5b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 23 Jun 2023 19:19:15 -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 f9e04a57..56b814bf 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -510,7 +510,6 @@ SERVICE(){ if [ "${1}" = "nginx" ] && [ "${NGINX_PATHS[${NODE_TYPE}]}" != "" ]; then - echo ${NGINX_PATHS[${NODE_TYPE}]} if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then if [ "${3}" != "ns" ]; then if [ "${3}" != "q" ]; then @@ -521,6 +520,7 @@ SERVICE(){ else PH_CMD="ssh root@${!NT_HOST}" fi + echo $PH_CMD ${PH_CMD} touch ${NGINX_PATHS[${NODE_TYPE}]}/test.repl # ${PH_CMD} "echo -e \"Service ${1} ${2}\" >> ${NGINX_PATHS[${NODE_TYPE}]}/test.repl" for nip in "${!NT_HOSTS}"; do