taler-exchange.taler-exchange-httpd@.service (964B)
1 # This is a systemd service template to instantiate 2 # the service multiple times for parallelism. 3 # We currently don't ship it with the package, 4 # but might use it for future high-performance 5 # deployments. 6 7 [Unit] 8 StartLimitIntervalSec=0 9 Description=GNU Taler payment system exchange REST API at %I 10 AssertPathExists=/run/taler-exchange/httpd 11 Requires=taler-exchange-httpd@%i.socket 12 After=postgresql.service network.target taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service 13 PartOf=taler-exchange.target 14 15 [Service] 16 # DD102: retry transient failures without a start-rate limit. 17 Restart=always 18 RestartSec=10s 19 RestartMode=direct 20 User=taler-exchange-httpd 21 Type=simple 22 RestartPreventExitStatus=6 9 23 ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler-exchange/taler-exchange.conf -L INFO 24 StandardOutput=journal 25 StandardError=journal 26 PrivateTmp=no 27 PrivateDevices=yes 28 ProtectSystem=full 29 Slice=taler-exchange.slice 30 31 [Install] 32 WantedBy=multi-user.target