Move letsencrypt arg to create_args

This commit is contained in:
Michael Vines 2019-07-09 21:26:56 -07:00
parent 7d80cfb17a
commit aebd70ddce
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 5 additions and 4 deletions

View File

@ -259,6 +259,11 @@ if ! $skipCreate; then
# shellcheck disable=SC2206
create_args+=(${zone_args[@]})
if [[ -n $maybeLetsEncrypt ]]; then
# shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt
create_args+=($maybeLetsEncrypt)
fi
if $blockstreamer; then
create_args+=(-u)
fi
@ -349,10 +354,6 @@ if ! $skipStart; then
# shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick
args+=($maybeHashesPerTick)
fi
if [[ -n $maybeLetsEncrypt ]]; then
# shellcheck disable=SC2206 # Do not want to quote $maybeLetsEncrypt
args+=($maybeLetsEncrypt)
fi
if $reuseLedger; then
args+=(-r)
fi