[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 01/03: fix cli test harness
From: |
gnunet |
Subject: |
[libeufin] 01/03: fix cli test harness |
Date: |
Thu, 28 Jan 2021 11:10:17 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 436ec766922e8b24ffcb930effef5df92eed80df
Author: MS <ms@taler.net>
AuthorDate: Thu Jan 28 11:08:39 2021 +0100
fix cli test harness
---
cli/setup-template.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/cli/setup-template.sh b/cli/setup-template.sh
index 511850f..9a468d7 100755
--- a/cli/setup-template.sh
+++ b/cli/setup-template.sh
@@ -34,15 +34,17 @@ NEXUS_BANK_CONNECTION_NAME=b
export LIBEUFIN_NEXUS_URL=$NEXUS_URL \
LIBEUFIN_NEXUS_USERNAME=$NEXUS_USER \
LIBEUFIN_NEXUS_PASSWORD=$NEXUS_PASSWORD \
- LIBEUFIN_SANDBOX_URL=$SANDBOX_URL
+ LIBEUFIN_SANDBOX_URL=$SANDBOX_URL \
+ LIBEUFIN_NEXUS_DB_CONNECTION=$DATABASE_CONN \
+ LIBEUFIN_SANDBOX_DB_CONNECTION=$DATABASE_CONN
echo Remove old database.
rm -f $SQLITE_FILE
echo Start services.
-libeufin-nexus serve --db-conn-string=$DATABASE_CONN &> nexus.log &
+libeufin-nexus serve &> nexus.log &
nexus_pid=$!
-libeufin-sandbox serve --db-conn-string=$DATABASE_CONN &> sandbox.log &
+libeufin-sandbox serve &> sandbox.log &
sandbox_pid=$!
trap "echo Terminating services.; kill $nexus_pid; kill $sandbox_pid" EXIT
@@ -88,7 +90,6 @@ libeufin-cli \
echo "Creating a nexus superuser"
libeufin-nexus \
superuser \
- --db-conn-string=$DATABASE_CONN \
--password $NEXUS_PASSWORD $NEXUS_USER
# create a bank connection
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.