mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Update v-update-letsencrypt-ssl
This commit is contained in:
parent
d03d8e9537
commit
6b30357f9a
1 changed files with 1 additions and 3 deletions
|
@ -38,9 +38,7 @@ for user in $($BIN/v-list-users plain |cut -f 1); do
|
|||
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)
|
||||
email=$(echo "$email" | cut -f 2 -d "'")
|
||||
echo "hostname $domain failed for LetsEncrypt renewing" | $SENDMAIL -s "LetsEncrypt renewing hostname $hostname" "$email" 'yes'
|
||||
send_email_to_admin "LetsEncrypt renewing hostname $hostname" "Warning: hostname $domain failed for LetsEncrypt renewing"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue