diff options
Diffstat (limited to 'debian/taler-exchange.taler-exchange-httpd@.service')
-rw-r--r-- | debian/taler-exchange.taler-exchange-httpd@.service | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/debian/taler-exchange.taler-exchange-httpd@.service b/debian/taler-exchange.taler-exchange-httpd@.service index 4235f72e9..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,13 +19,15 @@ 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 PrivateDevices=yes ProtectSystem=full +Slice=taler-exchange.slice [Install] WantedBy=multi-user.target |