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