acme-acmesh: use $challenge_dir

Signed-off-by: Glen Huang <i@glenhuang.com>
This commit is contained in:
Glen Huang 2022-12-14 21:16:57 +08:00
parent b907223d57
commit c40d7c09b9

View file

@ -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