Update nodemgmt-scripts.sh

This commit is contained in:
2020-10-25 13:31:50 -05:00
parent a8fc7b9f0b
commit ee04eed0c9

View File

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