Update services.inc

This commit is contained in:
2024-01-16 22:21:28 -06:00
parent 311443ae78
commit 9373069ede

View File

@@ -304,6 +304,7 @@ SERVICE_MGMT(){
PH_CMD="ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${!NT_HOST}"
fi
${PH_CMD} touch ${NM_REPL_CHECK_LOC[${SERVICE['service']}]}/test.repl
echo "HERE: ${NT_HOSTS} = ${!NT_HOSTS}"
for nip in "${!NT_HOSTS}"; do
checkhost=$(CHECK_HOST ${nip})
if [ "${checkhost}" != "false" ] && [ "${nip}" != "${!NT_HOST}" ]; then