aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Huang <i@glenhuang.com>2022-12-14 21:16:57 +0800
committerGlen Huang <i@glenhuang.com>2022-12-14 21:16:57 +0800
commitc40d7c09b987092f546250e16fbe97d59b09f10b (patch)
treec34a11d313cb8d83895223adc749195b976745bb
parentb907223d57765d49858c2fb1bd6e0b0f4222db0e (diff)
acme-acmesh: use $challenge_dir
Signed-off-by: Glen Huang <i@glenhuang.com>
-rw-r--r--net/acme-acmesh/files/hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/acme-acmesh/files/hook.sh b/net/acme-acmesh/files/hook.sh
index 4df82643d..149a3e751 100644
--- a/net/acme-acmesh/files/hook.sh
+++ b/net/acme-acmesh/files/hook.sh
@@ -3,7 +3,7 @@ set -u
ACME=/usr/lib/acme/client/acme.sh
LOG_TAG=acme-acmesh
# webroot option deprecated, use the hardcoded value directly in the next major version
-WEBROOT=${webroot:-/var/run/acme/challenge}
+WEBROOT=${webroot:-$challenge_dir}
NOTIFY=/usr/lib/acme/notify
# shellcheck source=net/acme/files/functions.sh