iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changes for buster linode
[distro-setup]
/
certbot-renew-hook
diff --git
a/certbot-renew-hook
b/certbot-renew-hook
index 9725594f814955f9762fe533b8269844dd060b46..ba1e68d0798388ae7556b8fba3b6d79a6adb0d5b 100755
(executable)
--- 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