From dba978b2007549097b4f29958b6bea9e488c0378 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 12 Apr 2021 00:13:33 +0200 Subject: [PATCH] Update v-update-letsencrypt-ssl --- bin/v-update-letsencrypt-ssl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/v-update-letsencrypt-ssl b/bin/v-update-letsencrypt-ssl index 3105c86ce..be61c6c99 100755 --- a/bin/v-update-letsencrypt-ssl +++ b/bin/v-update-letsencrypt-ssl @@ -35,7 +35,7 @@ for user in $($BIN/v-list-users plain |cut -f 1); do fail_counter=$(get_web_counter "$user" "$domain" 'LETSENCRYPT_FAIL_COUNT') - if [[ "$fail_counter" -ge 8 ]]; then + if [[ "$fail_counter" -ge 7 ]]; then if [ "$hostname" = "$domain" ]; then if [ -z "$SKIP_HOSTNAME_LETSENCRIPT_RENEWING_WARNING" ]; then email=$(grep CONTACT $VESTA/data/users/admin/user.conf) @@ -45,7 +45,7 @@ for user in $($BIN/v-list-users plain |cut -f 1); do fi fi - if [[ "$fail_counter" -ge 8 ]]; then + if [[ "$fail_counter" -ge 7 ]]; then # echo "$domain failed $fail_counter times for LetsEncrypt renewing, skipping" echo "[$(date)] : $domain failed $fail_counter times for LetsEncrypt renewing, skipping" >> /usr/local/vesta/log/letsencrypt_cron.log continue;