I ran this command:
sudo certbot certonly --standalone --deploy-hook="service stunnel restart"
Will stunnel be restarted automatically after every renewal? I don't see anything in /etc/letsencrypt/renewal-hooks/deploy
I ran this command:
sudo certbot certonly --standalone --deploy-hook="service stunnel restart"
Will stunnel be restarted automatically after every renewal? I don't see anything in /etc/letsencrypt/renewal-hooks/deploy
Welcome to the community @Disco1
Yes, the deploy hook will run at each renewal. See the renewal conf file in
/etc/letsencrypt/renewal
Placing scripts in the Hooks folder is alternate way to do it. See below
https://eff-certbot.readthedocs.io/en/stable/using.html#renewing-certificates
Only if the command was successful.
If it happened to fail, then nothing was changed,
[and you are right where you were before trying that command]
So, was the command able to complete successfully?
As far as I can tell, yes. Everything is running fine, I'm just concerned about come renewal day.
You check the contents of the renewal file.
/etc/letsencrypt/renewal/{filename}
Only one thing to do: mark it in your calendar and after renewal check if the service reload was successful too.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.