diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-11 16:20:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-11 16:20:02 +0100 |
commit | e2e04d8c8eda4eed72a632f060013e31afbfa83d (patch) | |
tree | e27cd2169a31afc0fd89f5ccab737721ebf1d8ab /src | |
parent | 5a5e0c3723b0e1594440f8e82ea598a34157c384 (diff) | |
download | exchange-e2e04d8c8eda4eed72a632f060013e31afbfa83d.tar.xz |
-purge libeufin DB before launch
Diffstat (limited to 'src')
-rwxr-xr-x | src/auditor/generate-auditor-basedb.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auditor/generate-auditor-basedb.sh b/src/auditor/generate-auditor-basedb.sh index 085c8c053..8a80c3b62 100755 --- a/src/auditor/generate-auditor-basedb.sh +++ b/src/auditor/generate-auditor-basedb.sh @@ -139,6 +139,7 @@ taler-auditor-exchange -c $CONF -m $MASTER_PUB -u $EXCHANGE_URL || exit_skip "Fa # Launch services echo "Launching services (pre audit DB: $TARGET_DB)" +rm -rf ${TARGET_DB}-sandbox.sqlite3 export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-sandbox.sqlite3" # Create the default demobank. cd $MY_TMP_DIR @@ -230,6 +231,7 @@ unset LIBEUFIN_SANDBOX_USERNAME unset LIBEUFIN_SANDBOX_PASSWORD # Prepare Nexus, which is the side actually talking # to the exchange. +rm -rf ${TARGET_DB}-nexus.sqlite3 export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:${TARGET_DB}-nexus.sqlite3" # For convenience, username and password are # identical to those used at the Sandbox. |