Skip to content

Instantly share code, notes, and snippets.

View tmshv's full-sized avatar

Roman Timashev tmshv

View GitHub Profile
@tmshv
tmshv / letsencrypt-renew
Last active January 4, 2016 07:48 — forked from thisismitch/le-renew-webroot
Let's Encrypt Auto-Renewal using the Webroot Plugin (Nginx)
#!/bin/bash
web_service='nginx'
if [ "$1" == "" ]; then
echo "[ERROR] you should specify config path as parameter"
exit 1;
else
config_file="$1"
fi