Hello,
I am not sure if this is the category to post it, but I can’t find information in the Documentation or over the internet.
We have the following command which is executed with each app deployment:
certbot certonly --non-interactive --dns-route53 --cert-name xxx.com --domain xxx.com --domain www.xxx.com --keep-until-expiring --renew-with-new-domains --rsa-key-size 2048 --email some@email.com --agree-tos
If the certificate is renew because there are new domains on the list, or because just it is near the expiration day and the deploy happen before the cron job certbot renew is executed, are the scripts in /etc/letsencrypt/renewal-hooks/deploy executed? or they are only executed when the certificate is renew with the certbot renew option?
In case that script is not executed with certbot certonly anyway the certificate is renew, how we can deal with it? Adding the following option maybe?
--deploy-hook /etc/letsencrypt/renewal-hooks/deploy/script.sh
Thanks in advance,
J.