aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-27 17:40:16 +0200
committerFlorian Dold <florian@dold.me>2021-07-27 17:40:16 +0200
commit00bd9876225553b92a0eef382a4e9ab2b87606aa (patch)
tree816b77566e77f7ff2df871ca6c536431c7b62d31
parentdcef8b3cd6567f0f5bb033281b98aa343f0de9c1 (diff)
debian: separate config for secmods
-rw-r--r--debian/etc/taler/exchange-service-secmod.conf9
-rw-r--r--debian/taler-exchange.taler-exchange-secmod-eddsa.service2
-rw-r--r--debian/taler-exchange.taler-exchange-secmod-rsa.service2
3 files changed, 11 insertions, 2 deletions
diff --git a/debian/etc/taler/exchange-service-secmod.conf b/debian/etc/taler/exchange-service-secmod.conf
new file mode 100644
index 000000000..5f5c012c6
--- /dev/null
+++ b/debian/etc/taler/exchange-service-secmod.conf
@@ -0,0 +1,9 @@
+# This configuration file is the entry point for the exchange
+# security modules.
+#
+# It includes other configuration files,
+# which are applied on top of the read-only base configuration
+# (typically in /usr/share/taler/config.d/).
+
+@INLINE@ exchange-system.conf
+@INLINE@ exchange-business.conf
diff --git a/debian/taler-exchange.taler-exchange-secmod-eddsa.service b/debian/taler-exchange.taler-exchange-secmod-eddsa.service
index 40f7ecc47..b91a742d2 100644
--- a/debian/taler-exchange.taler-exchange-secmod-eddsa.service
+++ b/debian/taler-exchange.taler-exchange-secmod-eddsa.service
@@ -7,7 +7,7 @@ PartOf=taler-exchange.service
User=taler-exchange-secmod-eddsa
Type=simple
Restart=on-failure
-ExecStart=/usr/bin/taler-exchange-secmod-eddsa -c /etc/taler/exchange-service-default.conf
+ExecStart=/usr/bin/taler-exchange-secmod-eddsa -c /etc/taler/exchange-service-secmod.conf
StandardOutput=journal
StandardError=journal
PrivateTmp=no
diff --git a/debian/taler-exchange.taler-exchange-secmod-rsa.service b/debian/taler-exchange.taler-exchange-secmod-rsa.service
index a5d3caf4b..2b45df460 100644
--- a/debian/taler-exchange.taler-exchange-secmod-rsa.service
+++ b/debian/taler-exchange.taler-exchange-secmod-rsa.service
@@ -7,7 +7,7 @@ PartOf=taler-exchange.service
User=taler-exchange-secmod-rsa
Type=simple
Restart=on-failure
-ExecStart=/usr/bin/taler-exchange-secmod-rsa -c /etc/taler/exchange-service-default.conf
+ExecStart=/usr/bin/taler-exchange-secmod-rsa -c /etc/taler/exchange-service-secmod.conf
StandardOutput=journal
StandardError=journal
PrivateTmp=no