When installing certbot on Ubuntu (20.04) it will automatically run
certbot renew via cron or systemd.
If I place hook scripts in
/etc/letsencrypt/renewal-hooks/(deploy|post|pre) will certbot also run these, or do I need to add ‘–deploy-hook’ to the certbot command in cron|systemd?
Cerbot will run scripts from
--deploy-hook is not required.
Don't forget to set
chmod +x for scripts.
If you run
sudo certbot renew --dry-run
certbot executes the hooks too.
Answered by Qwertovsky on December 11, 2020
Get help from others!