diff options
Diffstat (limited to 'debian/taler-auditor.taler-helper-auditor-reserves.service')
-rw-r--r-- | debian/taler-auditor.taler-helper-auditor-reserves.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/taler-auditor.taler-helper-auditor-reserves.service b/debian/taler-auditor.taler-helper-auditor-reserves.service index d1f007dd5..388ae5f1a 100644 --- a/debian/taler-auditor.taler-helper-auditor-reserves.service +++ b/debian/taler-auditor.taler-helper-auditor-reserves.service @@ -1,6 +1,7 @@ [Unit]
Description=GNU Taler auditor helper checking reserves
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 |