aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-25 17:52:10 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-25 17:52:10 +0200
commit28fcff7c1eb3c336278fab59c7eb352bf4b1e49a (patch)
tree2fc4a7d0f35932abc64b16b998288961fa7b035a
parent153b685bac41613873b8b6a93422bb77d28ed9f0 (diff)
-move to postgres
-rwxr-xr-xsrc/auditor/test-revocation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh
index 47b39975d..a1970e100 100755
--- a/src/auditor/test-revocation.sh
+++ b/src/auditor/test-revocation.sh
@@ -157,13 +157,13 @@ function get_payto_uri() {
}
function launch_libeufin () {
- export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:${DB}-nexus.sqlite3"
+ export LIBEUFIN_SANDBOX_DB_CONNECTION='jdbc:postgresql://localhost/'"${DB}"'?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg='"$SOCKETDIR"'/.s.PGSQL.5432'
libeufin-nexus serve \
--port 8082 \
2> "${MYDIR}/libeufin-nexus-stderr.log" \
> "${MYDIR}/libeufin-nexus-stdout.log" &
echo $! > "${MYDIR}/libeufin-nexus.pid"
- export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:${DB}-sandbox.sqlite3"
+ export LIBEUFIN_NEXUS_DB_CONNECTION='jdbc:postgresql://localhost/'"${DB}"'?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg='"$SOCKETDIR"'/.s.PGSQL.5432'
libeufin-sandbox serve \
--no-auth \
--port 18082 \