summaryrefslogtreecommitdiff
path: root/debian/taler-exchange.taler-exchange-httpd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-exchange.taler-exchange-httpd@.service')
-rw-r--r--debian/taler-exchange.taler-exchange-httpd@.service10
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/taler-exchange.taler-exchange-httpd@.service b/debian/taler-exchange.taler-exchange-httpd@.service
index e0246899c..c4d010b80 100644
--- a/debian/taler-exchange.taler-exchange-httpd@.service
+++ b/debian/taler-exchange.taler-exchange-httpd@.service
@@ -1,4 +1,9 @@
-% This is a systemd service template.
+# This is a systemd service template to instantiate
+# the service multiple times for parallelism.
+# We currently don't ship it with the package,
+# but might use it for future high-performance
+# deployments.
+
[Unit]
Description=GNU Taler payment system exchange REST API at %I
AssertPathExists=/run/taler/exchange-httpd
@@ -14,8 +19,9 @@ Type=simple
Restart=always
# Do not dally on restarts.
RestartSec=1ms
+RestartPreventExitStatus=9
EnvironmentFile=/etc/environment
-ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf
+ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf -L INFO
StandardOutput=journal
StandardError=journal
PrivateTmp=no