[Watchdog] Retry acme check once more, redis-mailcow might be busy and not returning the wanted string

master
andryyy 2019-11-24 09:19:58 +01:00
parent 79bcbe5a51
commit 78e727bcfc
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

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