So my issue is that the server does not restart after the --post-hook runs.
I have to manually type service apache2 start for the server to restart
I ran this command:
sudo certbot certonly --force-renewal --cert-name new.com --standalone --pre-hook “service apache2 stop” --post-hook “service apache2 start”
It produced this output:
everything looks as normal: last line of the output is
Running post-hook command: service apache2 start
My web server is (include version):
Ubunto 13.04
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): 0.31.0