summaryrefslogtreecommitdiff
path: root/debian/taler-exchange.taler-exchange-httpd.service
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-08 16:35:13 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-08 16:35:13 +0100
commitf5578aa80ebc5fcf7e1a7860bdc83c886f0a63fe (patch)
tree0806aba2c4854917eb2fcf8c3d15fd2870e2d9c8 /debian/taler-exchange.taler-exchange-httpd.service
parentc3e597a8183cb86b0895118ee3f87e42c968d55b (diff)
downloadexchange-f5578aa80ebc5fcf7e1a7860bdc83c886f0a63fe.tar.gz
exchange-f5578aa80ebc5fcf7e1a7860bdc83c886f0a63fe.tar.bz2
exchange-f5578aa80ebc5fcf7e1a7860bdc83c886f0a63fe.zip
modify systemd for #8030: honor do-not-restart exit code
Diffstat (limited to 'debian/taler-exchange.taler-exchange-httpd.service')
-rw-r--r--debian/taler-exchange.taler-exchange-httpd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/taler-exchange.taler-exchange-httpd.service b/debian/taler-exchange.taler-exchange-httpd.service
index 3671bdc7d..2a4cf72e4 100644
--- a/debian/taler-exchange.taler-exchange-httpd.service
+++ b/debian/taler-exchange.taler-exchange-httpd.service
@@ -13,6 +13,7 @@ Type=simple
# needs to be restarted. Thus no significant delay on restarts.
Restart=always
RestartSec=1ms
+RestartPreventExitStatus=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