aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange.taler-exchange.target
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-exchange.taler-exchange.target')
-rw-r--r--debian/taler-exchange.taler-exchange.target16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/taler-exchange.taler-exchange.target b/debian/taler-exchange.taler-exchange.target
new file mode 100644
index 000000000..753a55e85
--- /dev/null
+++ b/debian/taler-exchange.taler-exchange.target
@@ -0,0 +1,16 @@
+[Unit]
+Description=GNU Taler exchange
+After=postgres.service network.target
+After=taler-exchange-httpd.service
+After=taler-exchange-wirewatch.service
+After=taler-exchange-aggregator.service
+After=taler-exchange-closer.service
+# This unit shall fail if any exchange
+# service fails.
+BindsTo=taler-exchange-httpd.service
+BindsTo=taler-exchange-wirewatch.service
+BindsTo=taler-exchange-aggregator.service
+BindsTo=taler-exchange-closer.service
+
+[Install]
+WantedBy=multi-user.target