diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-02 08:02:20 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-02 08:02:20 +0100 |
commit | 5a7dd001250da73ce2236f245b6bba9a1663477e (patch) | |
tree | e3e45fcc971fb084fb274443c87984f38e398dd6 /debian/taler-exchange.taler-exchange-httpd.service | |
parent | e8fc5d8d5c5eb07c9b6be41fd9bab0552a6ac672 (diff) | |
download | exchange-5a7dd001250da73ce2236f245b6bba9a1663477e.tar.xz |
improve suicide logic
Diffstat (limited to 'debian/taler-exchange.taler-exchange-httpd.service')
-rw-r--r-- | debian/taler-exchange.taler-exchange-httpd.service | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/taler-exchange.taler-exchange-httpd.service b/debian/taler-exchange.taler-exchange-httpd.service index de65e17b6..7db2b1194 100644 --- a/debian/taler-exchange.taler-exchange-httpd.service +++ b/debian/taler-exchange.taler-exchange-httpd.service @@ -8,7 +8,11 @@ PartOf=taler-exchange.target [Service] User=taler-exchange-httpd Type=simple -Restart=on-failure +# Depending on the configuration, the service suicides and then +# needs to be restarted. +Restart=always +# Do not dally on restarts. +RestartSec=1ms ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf StandardOutput=journal StandardError=journal |