certbot-auto --expand --authenticator standalone --installer nginx -d example.com -d www.example.com --pre-hook “service nginx stop” --post-hook “service nginx start”
I got an error message:
certbot: error: unrecognized arguments: nginx stop” nginx start”
' and got good result.
You have smartquotes in your command (
”) instead of an actual double-quote:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.