@stevenzhu --renew-hook only runs on a successful renewal. If I used post-hook it would reboot nginx every time the command is run, whether it attempts a renewal or not:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Certbot renew returns 404 | 8 | 7507 | August 23, 2020 | |
| help...Can not be renewed manually | 52 | 5771 | September 23, 2017 | |
| Certificate expired cannot renew | 12 | 2293 | December 13, 2021 | |
| Certbot renew dry run works but not actual renew | 7 | 6026 | November 17, 2017 | |
| Certificate renewal suddenly stopped working. No changes to server or DNS | 18 | 555 | March 18, 2026 |