summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-30 11:57:18 +0200
committerFlorian Dold <florian@dold.me>2021-07-30 11:57:18 +0200
commitc94541d3ed3bddc22cdee22c1dd56056b83d0fdb (patch)
treedbac741d93da3c2fdd0f706db28ed5191c30e73f
parent6495189b10d1333bdb38369371f72d839c97f9f3 (diff)
downloadmerchant-c94541d3ed3bddc22cdee22c1dd56056b83d0fdb.tar.gz
merchant-c94541d3ed3bddc22cdee22c1dd56056b83d0fdb.tar.bz2
merchant-c94541d3ed3bddc22cdee22c1dd56056b83d0fdb.zip
debian: config
-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.