Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user