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