Skip to content

Instantly share code, notes, and snippets.

Created October 27, 2016 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e29d70649693cf67271dbc94ee849d07 to your computer and use it in GitHub Desktop.
Save anonymous/e29d70649693cf67271dbc94ee849d07 to your computer and use it in GitHub Desktop.
the description for this gist
#!/bin/sh
certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start" --force-renew >> /var/log/certificate_renewal.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment