Update nodemgmt-scripts.sh

This commit is contained in:
2020-10-25 13:27:31 -05:00
parent dd9be345e8
commit b61dbc9219

4
nodemgmt-scripts.sh Normal file → Executable file
View File

@@ -1378,8 +1378,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; 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\"`"
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