Update services.inc
This commit is contained in:
@@ -304,6 +304,7 @@ SERVICE_MGMT(){
|
|||||||
PH_CMD="ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${!NT_HOST}"
|
PH_CMD="ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${!NT_HOST}"
|
||||||
fi
|
fi
|
||||||
${PH_CMD} touch ${NM_REPL_CHECK_LOC[${SERVICE['service']}]}/test.repl
|
${PH_CMD} touch ${NM_REPL_CHECK_LOC[${SERVICE['service']}]}/test.repl
|
||||||
|
echo "HERE: ${NT_HOSTS} = ${!NT_HOSTS}"
|
||||||
for nip in "${!NT_HOSTS}"; do
|
for nip in "${!NT_HOSTS}"; do
|
||||||
checkhost=$(CHECK_HOST ${nip})
|
checkhost=$(CHECK_HOST ${nip})
|
||||||
if [ "${checkhost}" != "false" ] && [ "${nip}" != "${!NT_HOST}" ]; then
|
if [ "${checkhost}" != "false" ] && [ "${nip}" != "${!NT_HOST}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user