summaryrefslogtreecommitdiff
path: root/debian/taler-exchange.taler-exchange-aggregator@.service
blob: b13997ae26b5fb1d4fb8b6eb4ce593741e47bea5 (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
# This is a systemd service template to instantiate
# the service multiple times for parallelism.
# We currently don't ship it with the package,
# but might use it for future high-performance
# deployments.

[Unit]
Description=GNU Taler payment system exchange aggregator service
PartOf=taler-exchange.target

[Service]
User=taler-exchange-aggregator
Type=simple
Restart=always
RestartSec=1s
RestartPreventExitStatus=9
ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler/taler.conf -L INFO
StandardOutput=journal
StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice
RuntimeMaxSec=3600s