Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # This script goes in: /etc/letsencrypt/renewal-hooks/deploy
- for domain in $RENEWED_DOMAINS
- do
- if [ "$domain" = "$(hostname --fqdn)" ]
- then
- cat "$RENEWED_LINEAGE/privkey.pem" "$RENEWED_LINEAGE/fullchain.pem" > /var/lib/znc/znc.pem
- systemctl reload znc
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement