From 8d81803886a1144ce2ea9c86206e557864915f65 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sun, 30 Jan 2022 21:08:03 +0100 Subject: [PATCH] copr/certbot: combined.pem might be a symlink --- roles/copr/certbot/templates/lighttpd | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/copr/certbot/templates/lighttpd b/roles/copr/certbot/templates/lighttpd index de53e783d9..28c8840b38 100644 --- a/roles/copr/certbot/templates/lighttpd +++ b/roles/copr/certbot/templates/lighttpd @@ -4,6 +4,7 @@ set -e pem_fixup() { + rm -f /etc/letsencrypt/live/$1/combined.pem cat "/etc/letsencrypt/live/$1/cert.pem" \ "/etc/letsencrypt/live/$1/privkey.pem" \ > "/etc/letsencrypt/live/$1/combined.pem"