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