[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] 01/02: moving var def above
From: |
gnunet |
Subject: |
[taler-deployment] 01/02: moving var def above |
Date: |
Fri, 10 Mar 2023 16:12:47 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
commit 661e81a0a3443c02ce4f90056d811096a0e7d698
Author: MS <ms@taler.net>
AuthorDate: Fri Mar 10 15:52:39 2023 +0100
moving var def above
---
netzbon/config_launch_libeufin.sh | 12 ++++++------
1 file 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"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.