Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #!/bin/sh
  2. # This script goes in: /etc/letsencrypt/renewal-hooks/deploy
  3.  
  4. for domain in $RENEWED_DOMAINS
  5. do
  6. if [ "$domain" = "$(hostname --fqdn)" ]
  7. then
  8. cat "$RENEWED_LINEAGE/privkey.pem" "$RENEWED_LINEAGE/fullchain.pem" > /var/lib/znc/znc.pem
  9. systemctl reload znc
  10. fi
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement