Update nodemgmt-scripts.sh

This commit is contained in:
2023-06-21 21:37:57 -05:00
parent 7720e6166e
commit 1b58c2d1ff

View File

@@ -520,7 +520,8 @@ SERVICE(){
else
PH_CMD="ssh root@${!NT_HOST}"
fi
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /opt/lb-data/nginx/test.repl"
touch /opt/lb-data/nginx/test.repl
${PH_CMD} "echo -e \"Service ${1} ${2}\" >> /opt/lb-data/nginx/test.repl"
# if [ "$NODE_TYPE" != "NC" ]; then
# ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl"
# fi