From a5cc74a7d84821e25aa4c40a5efc41fe82b9496c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 28 Feb 2024 22:17:35 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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