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