Skip to content

Instantly share code, notes, and snippets.

@airencracken
airencracken / le-renew-webroot
Last active January 22, 2016 05:03 — forked from thisismitch/le-renew-webroot
Let's Encrypt Auto-Renewal using the Webroot Plugin (Nginx)
#!/bin/bash
web_service='nginx'
config_file="/usr/local/etc/le-renew-webroot.ini"
le_path='/opt/letsencrypt'
exp_limit=30
if [ ! -f $config_file ]; then
echo "[ERROR] config file does not exist: $config_file"