exchange/debian/taler-exchange.taler-exchange-httpd.service

34 lines
1.1 KiB
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=GNU Taler payment system exchange REST API
2021-08-04 18:51:14 +02:00
AssertPathExists=/run/taler/exchange-httpd
2022-02-22 13:29:52 +01:00
Requires=taler-exchange-httpd.socket taler-exchange-secmod-cs.service taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service
After=postgres.service network.target taler-exchange-secmod-cs.service taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service
PartOf=taler-exchange.target
[Service]
User=taler-exchange-httpd
Type=simple
2023-03-10 12:18:56 +01:00
# Depending on the configuration, the service process kills itself and then
# needs to be restarted. Thus no significant delay on restarts.
2021-12-02 08:02:20 +01:00
Restart=always
RestartSec=1ms
2023-03-10 12:18:56 +01:00
# 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
2021-07-29 13:41:49 +02:00
ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf
StandardOutput=journal
StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice
[Install]
WantedBy=multi-user.target