From 6b7b576fa5dba97ec262e82ce6f736c3ac93a123 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 27 Jul 2021 15:42:39 +0200 Subject: [PATCH] debian: taler-exchange umbrella service --- debian/rules | 1 + debian/taler-exchange.taler-exchange-aggregator.service | 1 + debian/taler-exchange.taler-exchange-httpd.service | 1 + debian/taler-exchange.taler-exchange-secmod-eddsa.service | 1 + debian/taler-exchange.taler-exchange-secmod-rsa.service | 1 + debian/taler-exchange.taler-exchange-transfer.service | 1 + debian/taler-exchange.taler-exchange-wirewatch.service | 1 + 7 files changed, 7 insertions(+) diff --git a/debian/rules b/debian/rules index ab20b7cea..6f62a13d5 100755 --- a/debian/rules +++ b/debian/rules @@ -40,6 +40,7 @@ override_dh_installsystemd: dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-eddsa --no-start --no-enable dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-rsa --no-start --no-enable dh_installsystemd -ptaler-auditor --name=taler-auditor-httpd --no-start --no-enable + dh_installsystemd -ptaler-exchange --name=taler-exchange --no-start --no-enable # final invocation to generate daemon reload dh_installsystemd diff --git a/debian/taler-exchange.taler-exchange-aggregator.service b/debian/taler-exchange.taler-exchange-aggregator.service index 95b673e5a..b7010973a 100644 --- a/debian/taler-exchange.taler-exchange-aggregator.service +++ b/debian/taler-exchange.taler-exchange-aggregator.service @@ -1,5 +1,6 @@ [Unit] Description=GNU Taler payment system exchange aggregator service +PartOf=taler-exchange.service [Service] User=taler-exchange-aggregator diff --git a/debian/taler-exchange.taler-exchange-httpd.service b/debian/taler-exchange.taler-exchange-httpd.service index 79417534f..c0f03cff3 100644 --- a/debian/taler-exchange.taler-exchange-httpd.service +++ b/debian/taler-exchange.taler-exchange-httpd.service @@ -4,6 +4,7 @@ AssertPathExists=/run/taler-exchange Requires=taler-exchange-httpd.socket taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service Wants=taler-exchange-wirewatch.service taler-exchange-aggregator.service taler-exchange-transfer.service After=postgres.service network.target +PartOf=taler-exchange.service [Service] User=taler-exchange-httpd diff --git a/debian/taler-exchange.taler-exchange-secmod-eddsa.service b/debian/taler-exchange.taler-exchange-secmod-eddsa.service index ae8f19cc4..40f7ecc47 100644 --- a/debian/taler-exchange.taler-exchange-secmod-eddsa.service +++ b/debian/taler-exchange.taler-exchange-secmod-eddsa.service @@ -1,6 +1,7 @@ [Unit] Description=GNU Taler payment system exchange EdDSA security module AssertPathExists=/run/taler-exchange +PartOf=taler-exchange.service [Service] User=taler-exchange-secmod-eddsa diff --git a/debian/taler-exchange.taler-exchange-secmod-rsa.service b/debian/taler-exchange.taler-exchange-secmod-rsa.service index d2cde6dfd..a5d3caf4b 100644 --- a/debian/taler-exchange.taler-exchange-secmod-rsa.service +++ b/debian/taler-exchange.taler-exchange-secmod-rsa.service @@ -1,6 +1,7 @@ [Unit] Description=GNU Taler payment system exchange RSA security module AssertPathExists=/run/taler-exchange +PartOf=taler-exchange.service [Service] User=taler-exchange-secmod-rsa diff --git a/debian/taler-exchange.taler-exchange-transfer.service b/debian/taler-exchange.taler-exchange-transfer.service index c5b1dcdcd..c56b2ccf6 100644 --- a/debian/taler-exchange.taler-exchange-transfer.service +++ b/debian/taler-exchange.taler-exchange-transfer.service @@ -1,6 +1,7 @@ [Unit] Description=GNU Taler payment system exchange transfer service After=network.target +PartOf=taler-exchange.service [Service] User=taler-exchange-wire diff --git a/debian/taler-exchange.taler-exchange-wirewatch.service b/debian/taler-exchange.taler-exchange-wirewatch.service index 5054e3199..ba54770f8 100644 --- a/debian/taler-exchange.taler-exchange-wirewatch.service +++ b/debian/taler-exchange.taler-exchange-wirewatch.service @@ -1,6 +1,7 @@ [Unit] Description=GNU Taler payment system exchange wirewatch service After=network.target +PartOf=taler-exchange.service [Service] User=taler-exchange-wire