diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-11-08 13:09:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-11-08 13:09:47 +0000 |
commit | 6252bf180f14ca40ff08762edd026eda41805090 (patch) | |
tree | d0cf9b670d18900b92ad03512f4ec82111cd29bc /dehydrated/share/hooks | |
parent | Only restarting knot if it was running before in knot-zones-reset. (diff) | |
download | service-tools-6252bf180f14ca40ff08762edd026eda41805090.tar.xz service-tools-6252bf180f14ca40ff08762edd026eda41805090.zip |
Correcting cosmetic typo in dehydrated extra-cert hook output.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | dehydrated/share/hooks/deploy_cert.extra | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dehydrated/share/hooks/deploy_cert.extra b/dehydrated/share/hooks/deploy_cert.extra index b33f562..47a8391 100755 --- a/dehydrated/share/hooks/deploy_cert.extra +++ b/dehydrated/share/hooks/deploy_cert.extra @@ -40,11 +40,11 @@ echo " done." for EXTRA in fullchain-privkey privkey-fullchain do - echo -n " + creating ${EXTRA1}-${EXTRA2}:" - EXTRA1="$(echo ${EXTRA} | awk -F- '{ print $1 }')" EXTRA2="$(echo ${EXTRA} | awk -F- '{ print $2 }')" + echo -n " + creating ${EXTRA1}-${EXTRA2}:" + cat "${DIRECTORY}/${EXTRA1}-${TIMESTAMP}.pem" "${DIRECTORY}/${EXTRA2}-${TIMESTAMP}.pem" > "${DIRECTORY}/${EXTRA1}-${EXTRA2}-${TIMESTAMP}.pem" ln -sf "${EXTRA1}-${EXTRA2}-${TIMESTAMP}.pem" "${DIRECTORY}/cert.${EXTRA1}-${EXTRA2}.pem" |