X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=certbot-renew-hook;h=ba1e68d0798388ae7556b8fba3b6d79a6adb0d5b;hp=9725594f814955f9762fe533b8269844dd060b46;hb=79b274fcd8bfa556133ab13270e84b40aebe8468;hpb=343a048be4b32d18540c6531048d2b9a006774ae diff --git a/certbot-renew-hook b/certbot-renew-hook index 9725594..ba1e68d 100755 --- a/certbot-renew-hook +++ b/certbot-renew-hook @@ -31,3 +31,7 @@ for ((i=0; i<${#domain_user[@]}; i+=2)); do exit 0 fi done + +if [[ $RENEWED_LINEAGE == /etc/letsencrypt/live/iankelling.org ]]; then + cat /etc/letsencrypt/live/iankelling.org/{privkey,cert,chain}.pem > /var/lib/znc/znc.pem +fi