mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-19 19:00:18 +00:00
Concatenate the 2 files together
This commit is contained in:
@@ -4,7 +4,5 @@
|
|||||||
DOMAIN="deb.thunix.net"
|
DOMAIN="deb.thunix.net"
|
||||||
ZNCPEM=/var/lib/znc/znc.pem
|
ZNCPEM=/var/lib/znc/znc.pem
|
||||||
|
|
||||||
#[[ $RENEWED_LINEAGE != "/etc/letsencrypt/live/$ZNCDOMAIN" ]] && exit 0
|
|
||||||
echo "Updating znc.pem Before ZNC 1.7"
|
echo "Updating znc.pem Before ZNC 1.7"
|
||||||
cat /etc/letsencrypt/live/$DOMAIN/privkey.pem > $ZNCPEM
|
cat /etc/letsencrypt/live/$DOMAIN/{privkey,fullchain}.pem > $ZNCPEM
|
||||||
cat /etc/letsencrypt/live/$DOMAIN/fullchain.pem >> $ZNCPEM
|
|
||||||
|
|||||||
@@ -57,4 +57,4 @@
|
|||||||
dest: /etc/letsencrypt/renewal-hooks/update-znc.pem
|
dest: /etc/letsencrypt/renewal-hooks/update-znc.pem
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 755
|
mode: 0755
|
||||||
|
|||||||
Reference in New Issue
Block a user