blob: 97116a8de4df2af78ac88df421a309ae6a8663be (
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
28
29
|
[Unit]
Description=GNU Taler payment system auditor REST API
After=postgres.service network.target
PartOf=taler-auditor.target
[Service]
User=taler-auditor-httpd
Type=simple
Restart=on-failure
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
ExecStart=/usr/bin/taler-auditor-httpd -c /etc/taler/taler.conf -L INFO
StandardOutput=journal
StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-auditor.slice
[Install]
WantedBy=multi-user.target
|