Update nodemgmt-scripts.sh

This commit is contained in:
2020-09-27 14:40:28 -05:00
parent 3cd238c57b
commit 66c353a050

View File

@@ -1377,8 +1377,8 @@ SERVICE(){
if [ "${nip}" != "${!NT_HOST}" ]; then
checked=false
until [ "${checked}" = "" ]; do
checked="`${PH_CMD} \"ssh root@${nip} \"if [ -f /etc/nginx/test.repl ]; then cat /etc/nginx/test.repl\" | diff - /etc/nginx/test.repl; fi\"`"
checked="`${PH_CMD} \"ssh root@${nip} \"if [ -f /etc/nginx/test.repl ]; then cat /etc/letsencrypt/test.repl\" | diff - /etc/letsencrypt/test.repl; fi\"`"
checked="`${PH_CMD} \"ssh root@${nip} \"if [ -f /etc/nginx/test.repl ]; then cat /etc/nginx/test.repl; fi\" | diff - /etc/nginx/test.repl\"`"
checked="`${PH_CMD} \"ssh root@${nip} \"if [ -f /etc/nginx/test.repl ]; then cat /etc/letsencrypt/test.repl; fi\" | diff - /etc/letsencrypt/test.repl\"`"
done
fi
fi