debian: use Wants dependency

This commit is contained in:
Florian Dold 2021-08-07 23:22:54 +02:00
parent ee25a833a5
commit ea8734eed8
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1,18 +1,12 @@
[Unit] [Unit]
Description=GNU Taler exchange Description=GNU Taler exchange
After=postgres.service network.target After=postgres.service network.target
After=taler-exchange-httpd.service
After=taler-exchange-wirewatch.service Wants=taler-exchange-httpd.service
After=taler-exchange-aggregator.service Wants=taler-exchange-wirewatch.service
After=taler-exchange-closer.service Wants=taler-exchange-aggregator.service
After=taler-exchange-transfer.service Wants=taler-exchange-closer.service
# This unit shall fail if any exchange Wants=taler-exchange-transfer.service
# service fails.
BindsTo=taler-exchange-httpd.service
BindsTo=taler-exchange-wirewatch.service
BindsTo=taler-exchange-aggregator.service
BindsTo=taler-exchange-closer.service
BindsTo=taler-exchange-transfer.service
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target