From 5430dc34180e1c72c9a09f9eb17c2999e426bf77 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 26 Jul 2021 14:18:02 +0200 Subject: debian: revise maintainer scripts and service files --- ...aler-exchange-httpd.taler-exchange-httpd.service | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/taler-exchange-httpd.taler-exchange-httpd.service (limited to 'debian/taler-exchange-httpd.taler-exchange-httpd.service') 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 -- cgit v1.2.3