Created
October 20, 2017 22:11
-
-
Save Domin8-IPTV/373936435bb4d3f88f2bf33b3ed50dd3 to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| # Install certbot | |
| add-apt-repository ppa:certbot/certbot | |
| apt update | |
| apt install -y python-certbot-nginx | |
| echo "#!/bin/sh\ncertbot renew --quiet" >> /etc/cron.daily/cerbot-renew | |
| chmod +x /etc/cron.daily/cerbot-renew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment