mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Skipping LE renewing after 7 attempts
This commit is contained in:
parent
e97f309e70
commit
14aad370ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue