From be6735f4d9fd2138bb78110779bbff13ab9f6fa3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 28 Aug 2021 11:22:15 +0200 Subject: Merging upstream version 20210828. Signed-off-by: Daniel Baumann --- dehydrated/share/hooks/deploy_cert.fullchain-privkey | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 dehydrated/share/hooks/deploy_cert.fullchain-privkey (limited to 'dehydrated/share/hooks/deploy_cert.fullchain-privkey') diff --git a/dehydrated/share/hooks/deploy_cert.fullchain-privkey b/dehydrated/share/hooks/deploy_cert.fullchain-privkey new file mode 100755 index 0000000..5457036 --- /dev/null +++ b/dehydrated/share/hooks/deploy_cert.fullchain-privkey @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +DIRECTORY="$(dirname "${FULLCHAINFILE}")" +FILE="cert.fullchain-privkey-${TIMESTAMP}.pem" + +cat "${FULLCHAINFILE}" "${KEYFILE}" > "${DIRECTORY}/${FILE}" +ln -sf "${FILE}" "${DIRECTORY}/cert.fullchain-privkey.pem" -- cgit v1.2.3