aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-27 15:45:27 +0200
committerFlorian Dold <florian@dold.me>2021-07-27 15:45:27 +0200
commit96f27b15752ce5f1d515f30bb9df58980ce89838 (patch)
treeb312822b68543121d40c0c35c4a05e9ceb1980ab /debian
parent6b7b576fa5dba97ec262e82ce6f736c3ac93a123 (diff)
debian: service file and readme
Diffstat (limited to 'debian')
-rw-r--r--debian/README-packaging.md7
-rw-r--r--debian/taler-exchange.taler-exchange.service6
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/README-packaging.md b/debian/README-packaging.md
new file mode 100644
index 000000000..ac4274618
--- /dev/null
+++ b/debian/README-packaging.md
@@ -0,0 +1,7 @@
+This file contains some notes about packaging.
+
+## Systemd Units
+
+The main unit file is taler-exchange.service. It is a unit that does not run
+anything, but instead can be used to stop/start all exchange-related services
+at once.
diff --git a/debian/taler-exchange.taler-exchange.service b/debian/taler-exchange.taler-exchange.service
new file mode 100644
index 000000000..765411f3f
--- /dev/null
+++ b/debian/taler-exchange.taler-exchange.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=GNU Taler exchange
+After=postgres.service network.target
+
+[Install]
+WantedBy=multi-user.target