debian: use dh_installsystemd

This commit is contained in:
Florian Dold 2021-07-26 21:02:53 +02:00
parent 4ea1660f04
commit c02316940d
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

11
debian/rules vendored
View File

@ -30,6 +30,17 @@ override_dh_auto_install-indep:
override_dh_auto_clean:
dh_auto_clean
override_dh_installsystemd:
# Need to specify units manually, since we have multiple
# and dh_installsystemd by default only looks for "<package>.service".
dh_installsystemd -ptaler-exchange --name=taler-exchange-httpd
dh_installsystemd -ptaler-exchange --name=taler-exchange-aggregator
dh_installsystemd -ptaler-exchange --name=taler-exchange-transfer
dh_installsystemd -ptaler-exchange --name=taler-exchange-wirewatch
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-eddsa
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-rsa
dh_installsystemd -ptaler-auditor --name=taler-auditor-httpd
# Remove files already present in libtalerexchange from main taler-exchange package
override_dh_install:
dh_install