feat: let us know when certbot messes up

This commit is contained in:
f 2024-12-28 17:11:32 -03:00
parent 5b352b230f
commit c75818e3a4
No known key found for this signature in database

View file

@ -192,6 +192,11 @@ case $1 in
touch "${updated}"
done
find /etc/letsencrypt/renewal/ -name "*-001.conf" | while read broken_renewal; do
not_ok "${broken_renewal} certbot found an inconsistency on certificates and decided to create a new one"
touch "${failed}"
done
esac
if test -f "${failed}" ; then