aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-08 16:36:22 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-08 16:36:22 +0100
commit1702a267daa694dd196764e0ae21b7e55f9fa3a0 (patch)
tree98a60fdfa568fe1f6f144f34c5921571d13fb87d
parentbe1e89fa1ae4c3ee4aad2a0e54ffb6767e3c98c0 (diff)
modify systemd for #8030: honor do-not-restart exit codev0.9.4-dev.5
-rw-r--r--debian/taler-merchant.taler-merchant-depositcheck.service1
-rw-r--r--debian/taler-merchant.taler-merchant-exchange.service1
-rw-r--r--debian/taler-merchant.taler-merchant-httpd.service1
-rw-r--r--debian/taler-merchant.taler-merchant-webhook.service1
-rw-r--r--debian/taler-merchant.taler-merchant-wirewatch.service1
5 files changed, 5 insertions, 0 deletions
diff --git a/debian/taler-merchant.taler-merchant-depositcheck.service b/debian/taler-merchant.taler-merchant-depositcheck.service
index 85964dbc..4b744e8d 100644
--- a/debian/taler-merchant.taler-merchant-depositcheck.service
+++ b/debian/taler-merchant.taler-merchant-depositcheck.service
@@ -7,6 +7,7 @@ User=taler-merchant-httpd
Type=simple
Restart=always
RestartSec=1s
+RestartPreventExitStatus=9
ExecStart=/usr/bin/taler-merchant-depositcheck -c /etc/taler/taler.conf
PrivateTmp=yes
PrivateDevices=yes
diff --git a/debian/taler-merchant.taler-merchant-exchange.service b/debian/taler-merchant.taler-merchant-exchange.service
index e20e8029..e37546ef 100644
--- a/debian/taler-merchant.taler-merchant-exchange.service
+++ b/debian/taler-merchant.taler-merchant-exchange.service
@@ -7,6 +7,7 @@ User=taler-merchant-exchange
Type=simple
Restart=always
RestartSec=1s
+RestartPreventExitStatus=9
ExecStart=/usr/bin/taler-merchant-exchange -c /etc/taler/taler.conf
PrivateTmp=yes
PrivateDevices=yes
diff --git a/debian/taler-merchant.taler-merchant-httpd.service b/debian/taler-merchant.taler-merchant-httpd.service
index c863c14e..bd773261 100644
--- a/debian/taler-merchant.taler-merchant-httpd.service
+++ b/debian/taler-merchant.taler-merchant-httpd.service
@@ -7,6 +7,7 @@ User=taler-merchant-httpd
Type=simple
Restart=always
RestartSec=1s
+RestartPreventExitStatus=9
RuntimeMaxSec=3600s
ExecStart=/usr/bin/taler-merchant-httpd -c /etc/taler/taler.conf
diff --git a/debian/taler-merchant.taler-merchant-webhook.service b/debian/taler-merchant.taler-merchant-webhook.service
index 0e3e0c60..dfef261d 100644
--- a/debian/taler-merchant.taler-merchant-webhook.service
+++ b/debian/taler-merchant.taler-merchant-webhook.service
@@ -7,6 +7,7 @@ User=taler-merchant-httpd
Type=simple
Restart=always
RestartSec=1s
+RestartPreventExitStatus=9
ExecStart=/usr/bin/taler-merchant-webhook -c /etc/taler/taler.conf
PrivateTmp=yes
PrivateDevices=yes
diff --git a/debian/taler-merchant.taler-merchant-wirewatch.service b/debian/taler-merchant.taler-merchant-wirewatch.service
index 5cf6c8c7..afdcd574 100644
--- a/debian/taler-merchant.taler-merchant-wirewatch.service
+++ b/debian/taler-merchant.taler-merchant-wirewatch.service
@@ -7,6 +7,7 @@ User=taler-merchant-httpd
Type=simple
Restart=always
RestartSec=1s
+RestartPreventExitStatus=9
ExecStart=/usr/bin/taler-merchant-wirewatch -c /etc/taler/taler.conf
PrivateTmp=yes
PrivateDevices=yes