From e5b4cf6a5967fbfc00fdeb915068ec3412f9921f Mon Sep 17 00:00:00 2001 From: Brielle Date: Tue, 8 Mar 2016 12:34:44 -0700 Subject: [PATCH] Update readme --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 62eea3e..c5a928b 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,15 @@ apache-le-proxy.conf - Use with apache for LE well-known proxy config How To Use ============================================================= -gen-unifi-cert.sh - 1) Do initial cert generation: +##gen-unifi-cert.sh + + 1. Do initial cert generation: - gen-unifi-cert.sh -e email@address.com -d unifi.somedomain.com -d unifi.someotherdomain.com + `gen-unifi-cert.sh -e email@address.com -d unifi.somedomain.com -d unifi.someotherdomain.com` - 2) Put in /etc/cron.weekly/renew-unifi-ssl if everything works okay: + 2. Put in /etc/cron.weekly/renew-unifi-ssl if everything works okay: - /path/to/script/gen-unifi-cert.sh -r -d unifi.somedomain.com -d unifi.someotherdomain.com + `/path/to/script/gen-unifi-cert.sh -r -d unifi.somedomain.com -d unifi.someotherdomain.com` - 3) Script will now run weekly and renew the certificate if necessary ( <30 days remain) + 3. Script will now run weekly and renew the certificate if necessary ( <30 days remain) and restart unifi only if cert has been renewed. \ No newline at end of file