Update nodemgmt-scripts.sh

This commit is contained in:
2020-10-25 13:33:05 -05:00
parent a56436b71d
commit 7b81a4b307

View File

@@ -1368,10 +1368,10 @@ SERVICE(){
else
PH_CMD="ssh root@${!NT_HOST}"
fi
${PH_CMD} "touch /etc/nginx/test.repl"
${PH_CMD} "/usr/bin/touch /etc/nginx/test.repl"
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl"
if [ "$NODE_TYPE" != "NC" ]; then
${PH_CMD} "touch /etc/letsencrypt/test.repl"
${PH_CMD} "/usr/bin/touch /etc/letsencrypt/test.repl"
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl"
fi
for nip in "${!NT_HOSTS}"; do