From aace1afda99ee4596dac62734ca2d97a03dfeb3a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 24 Nov 2019 10:14:48 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a21040e3..35790326 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1202,9 +1202,10 @@ SERVICE(){ else PH_CMD="ssh root@${!NT_HOST}" fi - echo "H: $PH_CMD" ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl" - ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl" + if [ "$NODE_TYPE" != "NC" ]; then + ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl" + fi for nip in "${!NT_HOSTS}"; do checkhost=$(CHECK_HOST ${nip}) if [ "${checkhost}" != "false" ]; then