From c40d7c09b987092f546250e16fbe97d59b09f10b Mon Sep 17 00:00:00 2001 From: Glen Huang Date: Wed, 14 Dec 2022 21:16:57 +0800 Subject: [PATCH] acme-acmesh: use $challenge_dir Signed-off-by: Glen Huang --- net/acme-acmesh/files/hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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