Concatenate the 2 files together
This commit is contained in:
parent
cf640d2c75
commit
11f0ae5beb
|
@ -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
|
||||
|
|
|
@ -57,4 +57,4 @@
|
|||
dest: /etc/letsencrypt/renewal-hooks/update-znc.pem
|
||||
owner: root
|
||||
group: root
|
||||
mode: 755
|
||||
mode: 0755
|
||||
|
|
Loading…
Reference in New Issue