feat: let us know when certbot messes up
This commit is contained in:
parent
5b352b230f
commit
c75818e3a4
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue