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.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/taler-exchange.taler-exchange-httpd.service b/debian/taler-exchange.taler-exchange-httpd.service
index 3671bdc7d..cbde72522 100644
--- a/debian/taler-exchange.taler-exchange-httpd.service
+++ b/debian/taler-exchange.taler-exchange-httpd.service
@@ -12,7 +12,9 @@ Type=simple
# Depending on the configuration, the service process kills itself and then
# needs to be restarted. Thus no significant delay on restarts.
Restart=always
+RestartMode=direct
RestartSec=1ms
+RestartPreventExitStatus=2 3 4 5 6 9
# Disable the service if more than 5 restarts are encountered within 5s.
# These are usually the systemd defaults, but can be overwritten, thus we set
@@ -21,7 +23,7 @@ RestartSec=1ms
StartLimitBurst=5
StartLimitInterval=5s
-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