From 00bd9876225553b92a0eef382a4e9ab2b87606aa Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 27 Jul 2021 17:40:16 +0200 Subject: [PATCH] debian: separate config for secmods --- debian/etc/taler/exchange-service-secmod.conf | 9 +++++++++ .../taler-exchange.taler-exchange-secmod-eddsa.service | 2 +- debian/taler-exchange.taler-exchange-secmod-rsa.service | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 debian/etc/taler/exchange-service-secmod.conf 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