Concatenate the 2 files together

This commit is contained in:
Naglfar 2020-09-18 13:29:57 +02:00
parent cf640d2c75
commit 11f0ae5beb
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,5 @@
DOMAIN="deb.thunix.net"
ZNCPEM=/var/lib/znc/znc.pem
#[[ $RENEWED_LINEAGE != "/etc/letsencrypt/live/$ZNCDOMAIN" ]] && exit 0
echo "Updating znc.pem Before ZNC 1.7"
cat /etc/letsencrypt/live/$DOMAIN/privkey.pem > $ZNCPEM
cat /etc/letsencrypt/live/$DOMAIN/fullchain.pem >> $ZNCPEM
cat /etc/letsencrypt/live/$DOMAIN/{privkey,fullchain}.pem > $ZNCPEM

View File

@ -57,4 +57,4 @@
dest: /etc/letsencrypt/renewal-hooks/update-znc.pem
owner: root
group: root
mode: 755
mode: 0755