diff options
Diffstat (limited to 'netzbon/config_launch_libeufin.sh')
-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" |