2021-07-26 14:18:02 +02:00
|
|
|
[Unit]
|
|
|
|
Description=GNU Taler payment system exchange REST API
|
2021-08-04 18:51:14 +02:00
|
|
|
AssertPathExists=/run/taler/exchange-httpd
|
2021-08-04 20:18:21 +02:00
|
|
|
Requires=taler-exchange-httpd.socket taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service
|
2021-08-06 13:30:41 +02:00
|
|
|
After=postgres.service network.target taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service
|
2021-08-07 20:20:48 +02:00
|
|
|
PartOf=taler-exchange.target
|
2021-07-26 14:18:02 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=taler-exchange-httpd
|
|
|
|
Type=simple
|
2021-12-02 08:02:20 +01:00
|
|
|
# Depending on the configuration, the service suicides and then
|
|
|
|
# needs to be restarted.
|
|
|
|
Restart=always
|
|
|
|
# Do not dally on restarts.
|
|
|
|
RestartSec=1ms
|
2021-07-29 13:41:49 +02:00
|
|
|
ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf
|
2021-07-26 14:18:02 +02:00
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=journal
|
|
|
|
PrivateTmp=no
|
|
|
|
PrivateDevices=yes
|
|
|
|
ProtectSystem=full
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|