1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-17 12:00:12 -07:00

Fix for sleep while LE renewing

This commit is contained in:
myvesta 2018-12-10 14:35:20 +01:00 committed by GitHub
commit 60dcc89d32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ for user in $users; do
domain=$(basename $crt |sed -e "s/.crt$//")
if [[ "$expire" -lt 31 ]]; then
if [ $lecounter -gt 0 ]; then
sleep 10
sleep 60
fi
((lecounter++))
aliases=$(echo "$crt_data" |grep DNS:)
@ -68,10 +68,6 @@ for user in $users; do
fi
fi
fi
if [ $lecounter -gt 0 ]; then
sleep 60
fi
((lecounter++))
done
done