summaryrefslogtreecommitdiff
path: root/configs/usr/lib/systemd/system/taler-exchange-httpd@.service
blob: 0c39e41d3beac1f08f8073f625eb54e334e8b143 (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
[Unit]
Description=GNU Taler payment system exchange REST API at %I
AssertPathExists=/run/taler/exchange-httpd
Requires=taler-exchange-httpd@%i.socket taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service taler-exchange-secmod-cs.service
After=postgres.service network.target taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service taler-exchange-secmod-cs.service

[Service]
#User=taler-exchange-httpd
User=root
Type=simple
# Depending on the configuration, the service suicides and then
# needs to be restarted.
Restart=always
# Do not dally on restarts.
RestartSec=1ms
EnvironmentFile=/etc/environment
ExecStart=<CMD_PREFIX_HERE>/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf $TALER_ARGS $EXCHANGE_ARGS
StandardOutput=journal
StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
LimitNOFILE=500000

[Install]
WantedBy=multi-user.target