gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: be more explicit in systemd unit


From: gnunet
Subject: [taler-exchange] branch master updated: be more explicit in systemd unit file
Date: Fri, 10 Mar 2023 12:20:19 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ce71db2c be more explicit in systemd unit file
ce71db2c is described below

commit ce71db2c0b1a8dcc3021d2ba8549c31501c098b2
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Mar 10 12:18:56 2023 +0100

    be more explicit in systemd unit file
---
 contrib/gana                                       |  2 +-
 debian/taler-exchange.taler-exchange-httpd.service | 14 +++++++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index e2c325ca..1ec4596b 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit e2c325ca89b92aed98a30b23fd653b1adb9af683
+Subproject commit 1ec4596bf4925ee24fc06d3e74d2a553b8239870
diff --git a/debian/taler-exchange.taler-exchange-httpd.service 
b/debian/taler-exchange.taler-exchange-httpd.service
index ea78048e..3671bdc7 100644
--- a/debian/taler-exchange.taler-exchange-httpd.service
+++ b/debian/taler-exchange.taler-exchange-httpd.service
@@ -8,11 +8,19 @@ PartOf=taler-exchange.target
 [Service]
 User=taler-exchange-httpd
 Type=simple
-# Depending on the configuration, the service suicides and then
-# needs to be restarted.
+
+# Depending on the configuration, the service process kills itself and then
+# needs to be restarted. Thus no significant delay on restarts.
 Restart=always
-# No significant delay on restarts.
 RestartSec=1ms
+
+# 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
+# them here explicitly, as the exchange code assumes StartLimitInterval
+# to be >=5s.
+StartLimitBurst=5
+StartLimitInterval=5s
+
 ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf
 StandardOutput=journal
 StandardError=journal

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]