diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-08 16:35:13 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-08 16:35:13 +0100 |
commit | f5578aa80ebc5fcf7e1a7860bdc83c886f0a63fe (patch) | |
tree | 0806aba2c4854917eb2fcf8c3d15fd2870e2d9c8 /debian/taler-exchange.taler-exchange-httpd.service | |
parent | c3e597a8183cb86b0895118ee3f87e42c968d55b (diff) | |
download | exchange-f5578aa80ebc5fcf7e1a7860bdc83c886f0a63fe.tar.xz |
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.service | 1 |
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 |