Update status.inc

This commit is contained in:
2024-02-28 22:17:35 -06:00
parent b27d089ffd
commit a5cc74a7d8

View File

@@ -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