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