diff options
author | MS <ms@taler.net> | 2021-01-28 11:08:39 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-01-28 11:08:39 +0100 |
commit | 436ec766922e8b24ffcb930effef5df92eed80df (patch) | |
tree | 35fc7dcf1ba4620a4e78744db2c1f0a54bafe74f /cli | |
parent | 86cd6a77d50456130221b2eeb4e80e8492165447 (diff) | |
download | libeufin-436ec766922e8b24ffcb930effef5df92eed80df.tar.gz libeufin-436ec766922e8b24ffcb930effef5df92eed80df.tar.bz2 libeufin-436ec766922e8b24ffcb930effef5df92eed80df.zip |
fix cli test harness
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/setup-template.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cli/setup-template.sh b/cli/setup-template.sh index 511850f7..9a468d76 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 |