mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Wait 10 sec only while renewing LE for more than 1 domain
This commit is contained in:
parent
d14b7d969c
commit
8d85cdcb2c
1 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,7 @@ users=$($BIN/v-list-users | tail -n+3 | awk '{ print $1 }')
|
|||
for user in $users; do
|
||||
USER_DATA=$VESTA/data/users/$user
|
||||
# Checking user certificates
|
||||
lecounter=0
|
||||
for domain in $(search_objects 'web' 'LETSENCRYPT' 'yes' 'DOMAIN'); do
|
||||
|
||||
crt="$VESTA/data/users/$user/ssl/$domain.crt"
|
||||
|
@ -57,7 +58,10 @@ for user in $users; do
|
|||
echo "$domain $msg"
|
||||
fi
|
||||
fi
|
||||
sleep 10
|
||||
if [ $lecounter -gt 0 ]; then
|
||||
sleep 10
|
||||
fi
|
||||
((lecounter++))
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue