From 9ba1f2e8d3318e54592dfcf3fd344d6f5e359fd4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 23 Jul 2022 23:33:48 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 3f311577..d58fb73f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1410,7 +1410,6 @@ SERVICE(){ else PH_CMD="ssh root@${!NT_HOST}" fi - echo "HERE: '$PH_CMD'" ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl" if [ "$NODE_TYPE" != "NC" ]; then ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl" @@ -1445,6 +1444,8 @@ SERVICE(){ else PH_CMD="ssh root@${!NT_HOST}" fi + echo "HERE: '$PH_CMD'" + ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/apache2/test.repl" for nip in "${!NT_HOSTS}"; do checkhost=$(CHECK_HOST ${nip})