summaryrefslogtreecommitdiff
path: root/rotate-keys.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-29 14:02:16 +0200
committerErich Eckner <git@eckner.net>2019-08-29 14:02:16 +0200
commit623830c910a7fe0635fcde4d2a77dd8519d658c6 (patch)
tree96e15b3e9080197b7b3f307ff650e15924cbe942 /rotate-keys.in
parent84b7e63a9a70f6b774e8f778effc5633e900bf5c (diff)
downloadsimple-pki-623830c910a7fe0635fcde4d2a77dd8519d658c6.tar.xz
rotate-keys: make directory of webserver configurablev0.0
Diffstat (limited to 'rotate-keys.in')
-rw-r--r--rotate-keys.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotate-keys.in b/rotate-keys.in
index f965928..0ba3480 100644
--- a/rotate-keys.in
+++ b/rotate-keys.in
@@ -72,7 +72,7 @@ if [ -n "$(trap)" ]; then
exit 1
fi
-tmp_dir=$(mktemp -d '/srv/http/httpdocs/.csr/tmp.XXXXXXXXXX')
+tmp_dir=$(mktemp -d "${webserver_dir}"'/tmp.XXXXXXXXXX')
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
printf '%s\n' "${hosts}" \