Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1410,7 +1410,6 @@ SERVICE(){
|
||||
else
|
||||
PH_CMD="ssh root@${!NT_HOST}"
|
||||
fi
|
||||
echo "HERE: '$PH_CMD'"
|
||||
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/nginx/test.repl"
|
||||
if [ "$NODE_TYPE" != "NC" ]; then
|
||||
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/letsencrypt/test.repl"
|
||||
@@ -1445,6 +1444,8 @@ SERVICE(){
|
||||
else
|
||||
PH_CMD="ssh root@${!NT_HOST}"
|
||||
fi
|
||||
echo "HERE: '$PH_CMD'"
|
||||
|
||||
${PH_CMD} "echo -e \"Service ${1} ${2}\" > /etc/apache2/test.repl"
|
||||
for nip in "${!NT_HOSTS}"; do
|
||||
checkhost=$(CHECK_HOST ${nip})
|
||||
|
||||
Reference in New Issue
Block a user