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