diff options
author | MS <ms@taler.net> | 2023-03-10 15:52:39 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2023-03-10 15:52:39 +0100 |
commit | 661e81a0a3443c02ce4f90056d811096a0e7d698 (patch) | |
tree | c3ca55bbb4039fee1788a42dd256fc42ca1596d1 | |
parent | cbad50523c12b0f3f7e81f695f1c2ace53d44b4a (diff) | |
download | deployment-661e81a0a3443c02ce4f90056d811096a0e7d698.tar.gz deployment-661e81a0a3443c02ce4f90056d811096a0e7d698.tar.bz2 deployment-661e81a0a3443c02ce4f90056d811096a0e7d698.zip |
moving var def above
-rwxr-xr-x | netzbon/config_launch_libeufin.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/netzbon/config_launch_libeufin.sh b/netzbon/config_launch_libeufin.sh index 8608682..13dd448 100755 --- a/netzbon/config_launch_libeufin.sh +++ b/netzbon/config_launch_libeufin.sh @@ -48,6 +48,12 @@ fi # TODO: add sanity-checks for presence of other required env-vars +if test ${ENABLE_TLS:-} == "y" +then + PROTO="https" +else + PROTO="http" +fi say "Setting up libeufin" @@ -170,12 +176,6 @@ echo "EXCHANGE_IBAN=\"${EXCHANGE_IBAN}\"" >> ${MY_DIR}/config/internal.conf echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO}\"" >> ${MY_DIR}/config/internal.conf say "Setting the default exchange at Sandbox..." -if test ${ENABLE_TLS:-} == "y" -then - PROTO="https" -else - PROTO="http" -fi libeufin-sandbox default-exchange "${PROTO}://exchange.$DOMAIN_NAME/" $EXCHANGE_PAYTO say "DONE" |