commit c94541d3ed3bddc22cdee22c1dd56056b83d0fdb
parent 6495189b10d1333bdb38369371f72d839c97f9f3
Author: Florian Dold <florian@dold.me>
Date: Fri, 30 Jul 2021 11:57:18 +0200
debian: config
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/etc/taler/conf.d/merchant.conf b/debian/etc/taler/conf.d/merchant.conf
@@ -1,6 +1,6 @@
# Read secret sections into configuration, but only
# if we have permission to do so.
-@inline-secret@ exchangedb-postgres ../secrets/merchant-db.secret.conf
+@inline-secret@ merchantdb-postgres ../secrets/merchant-db.secret.conf
[merchant]
DATABASE = postgres
diff --git a/debian/etc/taler/secrets/merchant-db.secret.conf b/debian/etc/taler/secrets/merchant-db.secret.conf
@@ -0,0 +1,8 @@
+[merchantdb-postgres]
+
+# Typically, there should only be a single line here, of the form:
+
+CONFIG=postgres:///DATABASE
+
+# The details of the URI depend on where the database lives and how
+# access control was configured.