diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:37:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:37:04 +0100 |
commit | f8f7c83cb8df30accb772ae1a4ea3fc62606a5cc (patch) | |
tree | 2a1c4e0f9d25299a21dc912faaf3c83663ed7908 /debian | |
parent | 2b115add47166ad1dc9641ec2f3ed1730bf0fc7a (diff) |
fix #8030
Diffstat (limited to 'debian')
6 files changed, 12 insertions, 6 deletions
diff --git a/debian/taler-exchange.taler-exchange-aggregator.service b/debian/taler-exchange.taler-exchange-aggregator.service index 095945981..f92dfb178 100644 --- a/debian/taler-exchange.taler-exchange-aggregator.service +++ b/debian/taler-exchange.taler-exchange-aggregator.service @@ -7,8 +7,9 @@ After=postgres.service User=taler-exchange-aggregator Type=simple Restart=always +RestartMode=direct RestartSec=1s -RestartPreventExitStatus=9 +RestartPreventExitStatus=2 3 4 5 6 9 ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler/taler.conf StandardOutput=journal StandardError=journal diff --git a/debian/taler-exchange.taler-exchange-closer.service b/debian/taler-exchange.taler-exchange-closer.service index ab9c6d98f..c6315375c 100644 --- a/debian/taler-exchange.taler-exchange-closer.service +++ b/debian/taler-exchange.taler-exchange-closer.service @@ -7,8 +7,9 @@ After=network.target postgres.service User=taler-exchange-closer Type=simple Restart=always +RestartMode=direct RestartSec=1s -RestartPreventExitStatus=9 +RestartPreventExitStatus=2 3 4 5 6 9 ExecStart=/usr/bin/taler-exchange-closer -c /etc/taler/taler.conf StandardOutput=journal StandardError=journal diff --git a/debian/taler-exchange.taler-exchange-expire.service b/debian/taler-exchange.taler-exchange-expire.service index a34cdccb7..7bbccc2aa 100644 --- a/debian/taler-exchange.taler-exchange-expire.service +++ b/debian/taler-exchange.taler-exchange-expire.service @@ -7,8 +7,9 @@ After=postgres.service User=taler-exchange-expire Type=simple Restart=always +RestartMode=direct RestartSec=1s -RestartPreventExitStatus=9 +RestartPreventExitStatus=2 3 4 5 6 9 ExecStart=/usr/bin/taler-exchange-expire -c /etc/taler/taler.conf StandardOutput=journal StandardError=journal diff --git a/debian/taler-exchange.taler-exchange-httpd.service b/debian/taler-exchange.taler-exchange-httpd.service index 2a4cf72e4..1fb538a15 100644 --- a/debian/taler-exchange.taler-exchange-httpd.service +++ b/debian/taler-exchange.taler-exchange-httpd.service @@ -12,8 +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=9 +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 diff --git a/debian/taler-exchange.taler-exchange-transfer.service b/debian/taler-exchange.taler-exchange-transfer.service index 40d47b09c..2557dbdf6 100644 --- a/debian/taler-exchange.taler-exchange-transfer.service +++ b/debian/taler-exchange.taler-exchange-transfer.service @@ -7,8 +7,9 @@ PartOf=taler-exchange.target User=taler-exchange-wire Type=simple Restart=always +RestartMode=direct RestartSec=1s -RestartPreventExitStatus=9 +RestartPreventExitStatus=2 3 4 5 6 9 ExecStart=/usr/bin/taler-exchange-transfer -c /etc/taler/taler.conf StandardOutput=journal StandardError=journal diff --git a/debian/taler-exchange.taler-exchange-wirewatch.service b/debian/taler-exchange.taler-exchange-wirewatch.service index 14023c12b..2a549977d 100644 --- a/debian/taler-exchange.taler-exchange-wirewatch.service +++ b/debian/taler-exchange.taler-exchange-wirewatch.service @@ -7,8 +7,9 @@ PartOf=taler-exchange.target User=taler-exchange-wire Type=simple Restart=always +RestartMode=direct RestartSec=1s -RestartPreventExitStatus=9 +RestartPreventExitStatus=2 3 4 5 6 9 RuntimeMaxSec=3600s ExecStart=/usr/bin/taler-exchange-wirewatch -c /etc/taler/taler.conf StandardOutput=journal |