diff options
author | Florian Dold <florian@dold.me> | 2021-07-26 14:18:02 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-26 14:18:02 +0200 |
commit | 5430dc34180e1c72c9a09f9eb17c2999e426bf77 (patch) | |
tree | dd5f153937c98d888f39220a669f608a26c34b84 /debian/taler-exchange-httpd.taler-exchange-httpd.service | |
parent | a06a6a22ea01020c8c02434a3e0caa59a5bb0dd8 (diff) | |
download | exchange-5430dc34180e1c72c9a09f9eb17c2999e426bf77.tar.xz |
debian: revise maintainer scripts and service files
Diffstat (limited to 'debian/taler-exchange-httpd.taler-exchange-httpd.service')
-rw-r--r-- | debian/taler-exchange-httpd.taler-exchange-httpd.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/taler-exchange-httpd.taler-exchange-httpd.service b/debian/taler-exchange-httpd.taler-exchange-httpd.service new file mode 100644 index 000000000..e88bd84f2 --- /dev/null +++ b/debian/taler-exchange-httpd.taler-exchange-httpd.service @@ -0,0 +1,21 @@ +[Unit] +Description=GNU Taler payment system exchange REST API +AssertPathExists=/var/lib/taler-exchange/ +Requires=taler-exchange-httpd.socket taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service +Wants=taler-exchange-wirewatch.service taler-exchange-aggregator.service taler-exchange-transfer.service +After=postgres.service network.target + +[Service] +EnvironmentFile=/etc/default/taler-exchange +User=taler-exchange-httpd +Type=simple +Restart=on-failure +ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/exchange-service-default.conf +StandardOutput=journal +StandardError=journal +PrivateTmp=no +PrivateDevices=yes +ProtectSystem=full + +[Install] +WantedBy=multi-user.target |