aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-auditor.taler-helper-auditor-wire-debit.service
blob: 524756da64de2a594a89b94ddfb466b41ef650b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Unit]
Description=GNU Taler auditor helper checking outgoing wire debit operations
After=postgres.service
PartOf=taler-auditor.target

[Service]
User=taler-auditor-httpd
Type=simple
Restart=always
RestartSec=1s
RestartPreventExitStatus=9
ExecStart=/usr/bin/taler-helper-auditor-wire-debit -c /etc/taler/taler.conf -L INFO
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