aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-auditor.taler-helper-auditor-aggregation.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-auditor.taler-helper-auditor-aggregation.service')
-rw-r--r--debian/taler-auditor.taler-helper-auditor-aggregation.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/taler-auditor.taler-helper-auditor-aggregation.service b/debian/taler-auditor.taler-helper-auditor-aggregation.service
index f8617d4f1..d226d7236 100644
--- a/debian/taler-auditor.taler-helper-auditor-aggregation.service
+++ b/debian/taler-auditor.taler-helper-auditor-aggregation.service
@@ -1,6 +1,7 @@
[Unit]
Description=GNU Taler auditor helper checking aggregations
After=postgres.service
+PartOf=taler-auditor.target
[Service]
User=taler-auditor-httpd
@@ -13,3 +14,14 @@ PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
RuntimeMaxSec=3600s
+
+StandardOutput=journal
+StandardError=journal
+Slice=taler-auditor.slice
+
+# 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 \ No newline at end of file