Skip to content

Instantly share code, notes, and snippets.

@Domin8-IPTV
Created October 20, 2017 22:11
Show Gist options
  • Select an option

  • Save Domin8-IPTV/373936435bb4d3f88f2bf33b3ed50dd3 to your computer and use it in GitHub Desktop.

Select an option

Save Domin8-IPTV/373936435bb4d3f88f2bf33b3ed50dd3 to your computer and use it in GitHub Desktop.
#!/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