From 14aad370aca7d1b54f054505afc29965a95c43ed Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Thu, 30 Apr 2020 01:17:52 +0200 Subject: [PATCH] Skipping LE renewing after 7 attempts --- bin/v-update-letsencrypt-ssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-update-letsencrypt-ssl b/bin/v-update-letsencrypt-ssl index 111660634..36d7a1e97 100755 --- a/bin/v-update-letsencrypt-ssl +++ b/bin/v-update-letsencrypt-ssl @@ -31,7 +31,7 @@ for user in $($BIN/v-list-users plain |cut -f 1); do for domain in $(search_objects 'web' 'LETSENCRYPT' 'yes' 'DOMAIN'); do fail_counter=$(get_web_counter "$user" "$domain" 'LETSENCRYPT_FAIL_COUNT') - if [[ "$fail_counter" -ge 3 ]]; then + if [[ "$fail_counter" -ge 7 ]]; then echo "$domain failed $fail_counter times for LetsEncrypt renewing, skipping" continue; fi