Update status.inc

This commit is contained in:
2025-05-10 11:40:01 -05:00
parent 57957c1924
commit 4e41e819d8

View File

@@ -916,6 +916,7 @@ REPLSTART(){
PH=${NODETYPE}_HOSTS[0]
PHA=${NODETYPE}_HOSTS
skip=0
echo "HERE1: ${skip} - ${!PH}"
if [ -f ${NM_TMPFOLDER}/${!PH}.disable ] || [ -f ${NM_TMPFOLDER}/${!PH}.down ]; then
rm -f ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${!PH}.running
touch ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${!PH}.skip
@@ -925,6 +926,7 @@ REPLSTART(){
PH=${NODETYPE}_HOSTS[1]
fi
fi
echo "HERE2: ${skip} - ${!PH}"
if [ ${skip} -eq 0 ]; then
PH_CMD="ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${!PH}"