blob: bcdfae1168990c431cd2cf1b7b8c915182f7f70f (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
# Executed by /etc/cron.daily/letsencrypt-renew
cat /etc/letsencrypt/live/{{ domain }}/{privkey,fullchain}.pem > /usr/lib/znc/znc.pem
chown znc.znc /usr/lib/znc/znc.pem
chmod 640 /usr/lib/znc/znc.pem
service znc restart
|