Skip to content

Instantly share code, notes, and snippets.

View emrikol's full-sized avatar

Derrick Tennant emrikol

View GitHub Profile
@emrikol
emrikol / le-renew.sh
Last active January 22, 2016 16:05 — forked from erikaheidi/le-renew.sh
Auto renewal for Let's Encrypt Apache
#!/bin/bash
#================================================================
# Let's Encrypt renewal script for Apache on Ubuntu/Debian
# @author Erika Heidi<erika@do.co>
# Usage: ./le-renew.sh [base-domain-name]
# More info: http://do.co/1mbVihI
#================================================================
domain=$1
le_path='/opt/letsencrypt'
le_conf='/etc/letsencrypt'