summaryrefslogtreecommitdiffstats
path: root/dehydrated/share/hooks/deploy_cert.fullchain-privkey
blob: 545703650df0e5eb9627c907fd0877bda8d1dce1 (plain)
1
2
3
4
5
6
7
8
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"