commit 3f1454e2754fe249f2591075192ac8643ebc96fe
parent b5ba23dfe24c67676fc2284eed7912a14c941216
Author: Antoine A <>
Date: Sat, 17 Jan 2026 12:58:56 +0100
common: use Type=exec for systemd services
Diffstat:
4 files changed, 4 insertions(+), 28 deletions(-)
diff --git a/debian/taler-cyclos.taler-cyclos-httpd.service b/debian/taler-cyclos.taler-cyclos-httpd.service
@@ -6,19 +6,13 @@ PartOf=taler-cyclos.target
[Service]
User=taler-cyclos-httpd
-Type=simple
+Type=exec
-# 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
-# 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
diff --git a/debian/taler-cyclos.taler-cyclos-worker.service b/debian/taler-cyclos.taler-cyclos-worker.service
@@ -5,19 +5,13 @@ PartOf=taler-cyclos.target
[Service]
User=taler-cyclos-worker
-Type=simple
+Type=exec
-# 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
-# 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
diff --git a/debian/taler-magnet-bank.taler-magnet-bank-httpd.service b/debian/taler-magnet-bank.taler-magnet-bank-httpd.service
@@ -6,19 +6,13 @@ PartOf=taler-magnet-bank.target
[Service]
User=taler-magnet-bank-httpd
-Type=simple
+Type=exec
-# 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
-# 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
diff --git a/debian/taler-magnet-bank.taler-magnet-bank-worker.service b/debian/taler-magnet-bank.taler-magnet-bank-worker.service
@@ -5,19 +5,13 @@ PartOf=taler-magnet-bank.target
[Service]
User=taler-magnet-bank-worker
-Type=simple
+Type=exec
-# 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
-# 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