Last active
October 19, 2017 13:58
-
-
Save alfmatos/720816fc9806ef170733e6582170f391 to your computer and use it in GitHub Desktop.
Certbot renew for ngnix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# certbot for letsencrypt to renew certificates | |
# this can be used in a crontab entry | |
# 0 4 * * * certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start" --dry-run | |
certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment