Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-23 23:33:12 -05:00
parent ca5aef6e22
commit 31088c707a

View File

@@ -1410,6 +1410,7 @@ SERVICE(){
else else
PH_CMD="ssh root@${!NT_HOST}" PH_CMD="ssh root@${!NT_HOST}"
fi fi
echo "HERE: '$PH_CMD'"
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl" ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl"
if [ "$NODE_TYPE" != "NC" ]; then if [ "$NODE_TYPE" != "NC" ]; then
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl" ${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl"