How would I setup a reload command?


#1

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
*.cfanoulis.me

I ran this command:
certbot renew --dry-run

It produced this output:
hurr durr
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/cfanoulis.me/fullchain.pem
hurr durr

My web server is (include version):
custom built node.js baby :sunglasses:

The operating system my web server runs on is (include version):
Ubuntu 18.04 LTS

My hosting provider, if applicable, is:
DigitalOcean

I can login to a root shell on my machine (yes or no, or I don’t know):
Yup

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
Pulseway, but that isn’t a CP

Hey, is there a way to run a comand after the certs renew correctly? I saw the renew --dry-run command mentions something about a reload command


#3

With the --post-hook or --deploy-hook options. See for more info: https://certbot.eff.org/docs/using.html#renewing-certificates


#4

Thanks :meowheart: much appreciated!