diff options
author | Glen Huang <i@glenhuang.com> | 2022-10-24 10:21:45 +0800 |
---|---|---|
committer | Glen Huang <i@glenhuang.com> | 2022-10-24 10:48:34 +0800 |
commit | 9d2d8787cafdfb49339766a00ced422fa75cb883 (patch) | |
tree | cfce9b043a95916f47addda8e3b81a31e24c0704 /net/acme-common | |
parent | 7f04710579ef9466bc429403624fed71f112d6c9 (diff) |
acme: fix staging option
Legacy use_staging option was not respected, and the example config
still use the legacy name.
Signed-off-by: Glen Huang <i@glenhuang.com>
Diffstat (limited to 'net/acme-common')
-rw-r--r-- | net/acme-common/files/acme.config | 4 | ||||
-rw-r--r-- | net/acme-common/files/acme.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/acme-common/files/acme.config b/net/acme-common/files/acme.config index 12bffd60f..d72547a6e 100644 --- a/net/acme-common/files/acme.config +++ b/net/acme-common/files/acme.config @@ -5,7 +5,7 @@ config acme config cert 'example_wildcard' option enabled 0 - option use_staging 1 + option staging 1 list domains example.org list domains sub.example.org list domains *.sub.example.org @@ -17,6 +17,6 @@ config cert 'example_wildcard' config cert 'example' option enabled 0 - option use_staging 1 + option staging 1 list domains example.org list domains sub.example.org diff --git a/net/acme-common/files/acme.sh b/net/acme-common/files/acme.sh index 141a2a2cf..24601a502 100644 --- a/net/acme-common/files/acme.sh +++ b/net/acme-common/files/acme.sh @@ -36,7 +36,7 @@ load_options() { section=$1 # compatibility for old option name - config_get_bool use_staging "$section" staging + config_get_bool staging "$section" use_staging if [ -z "$staging" ]; then config_get_bool staging "$section" staging 0 fi |