summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/etc/taler/conf.d/merchant.conf2
-rw-r--r--debian/etc/taler/secrets/merchant-db.secret.conf8
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/etc/taler/conf.d/merchant.conf b/debian/etc/taler/conf.d/merchant.conf
index bd150216..b89751c3 100644
--- 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
index e69de29b..85bf6d3e 100644
--- 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.