mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 05:40:17 +00:00
Concatenate the 2 files together
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user