X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=certbot-renew-hook;h=ba1e68d0798388ae7556b8fba3b6d79a6adb0d5b;hp=9725594f814955f9762fe533b8269844dd060b46;hb=6459d4698ef983f7b1540589b87013c76913393d;hpb=b1c29177fe76f8f2a557f7f36c987df3ef2a6cb4 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