Move letsencrypt arg to create_args
This commit is contained in:
parent
7d80cfb17a
commit
aebd70ddce
|
@ -259,6 +259,11 @@ if ! $skipCreate; then
|
||||||
# shellcheck disable=SC2206
|
# shellcheck disable=SC2206
|
||||||
create_args+=(${zone_args[@]})
|
create_args+=(${zone_args[@]})
|
||||||
|
|
||||||
|
if [[ -n $maybeLetsEncrypt ]]; then
|
||||||
|
# shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt
|
||||||
|
create_args+=($maybeLetsEncrypt)
|
||||||
|
fi
|
||||||
|
|
||||||
if $blockstreamer; then
|
if $blockstreamer; then
|
||||||
create_args+=(-u)
|
create_args+=(-u)
|
||||||
fi
|
fi
|
||||||
|
@ -349,10 +354,6 @@ if ! $skipStart; then
|
||||||
# shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick
|
# shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick
|
||||||
args+=($maybeHashesPerTick)
|
args+=($maybeHashesPerTick)
|
||||||
fi
|
fi
|
||||||
if [[ -n $maybeLetsEncrypt ]]; then
|
|
||||||
# shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt
|
|
||||||
args+=($maybeLetsEncrypt)
|
|
||||||
fi
|
|
||||||
if $reuseLedger; then
|
if $reuseLedger; then
|
||||||
args+=(-r)
|
args+=(-r)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue