From 78e727bcfc1e6c202bd5db972c185cef4c4490bf Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 24 Nov 2019 09:19:58 +0100 Subject: [PATCH] [Watchdog] Retry acme check once more, redis-mailcow might be busy and not returning the wanted string --- data/Dockerfiles/watchdog/watchdog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/watchdog/watchdog.sh b/data/Dockerfiles/watchdog/watchdog.sh index bc5d2ad4..8159e0d2 100755 --- a/data/Dockerfiles/watchdog/watchdog.sh +++ b/data/Dockerfiles/watchdog/watchdog.sh @@ -442,7 +442,7 @@ fail2ban_checks() { acme_checks() { err_count=0 diff_c=0 - THRESHOLD=1 + THRESHOLD=2 ACME_LOG_STATUS=$(redis-cli -h redis GET ACME_FAIL_TIME) if [[ -z "${ACME_LOG_STATUS}" ]]; then redis-cli -h redis SET ACME_FAIL_TIME 0