Update nodemgmt-scripts.sh

This commit is contained in:
2023-06-23 19:19:15 -05:00
parent e9ee020190
commit b815ab1793

View File

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