[Watchdog] Retry acme check once more, redis-mailcow might be busy and not returning the wanted string
This commit is contained in:
parent
79bcbe5a51
commit
78e727bcfc
@ -442,7 +442,7 @@ fail2ban_checks() {
|
|||||||
acme_checks() {
|
acme_checks() {
|
||||||
err_count=0
|
err_count=0
|
||||||
diff_c=0
|
diff_c=0
|
||||||
THRESHOLD=1
|
THRESHOLD=2
|
||||||
ACME_LOG_STATUS=$(redis-cli -h redis GET ACME_FAIL_TIME)
|
ACME_LOG_STATUS=$(redis-cli -h redis GET ACME_FAIL_TIME)
|
||||||
if [[ -z "${ACME_LOG_STATUS}" ]]; then
|
if [[ -z "${ACME_LOG_STATUS}" ]]; then
|
||||||
redis-cli -h redis SET ACME_FAIL_TIME 0
|
redis-cli -h redis SET ACME_FAIL_TIME 0
|
||||||
|
Loading…
Reference in New Issue
Block a user