diff --git a/inc/status.inc b/inc/status.inc index bada7c4d..3a1f406e 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -826,7 +826,7 @@ REPLCHECK(){ timeout=`date --date='1 minutes' +%s` # timeout=`date --date='30 seconds' +%s` - if [ "${nip}" == "10.2.1.5" ] && [ "${rcheck}" == "pdns" ]; then + if [ "${nip}" == "10.2.1.5" ] && ([ "${rcheck}" == "pdns" ] || [ "${rcheck}" == "nginx" ]); then rm -f ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.running touch ${STATUSRUN_TMPFOLDER}/repl.${rcheck}.${nip}.skip else