How to add a renew hook for certbot?
After moving the foss.trainingserver to a new location, we found that TLS certificate was expired. I had looked and figured out that though certbot renewed the certificate, it never reloaded the nginx. Now to make sure that nginx is reloaded next time, we must add the renew hook in…