taler-exchange.taler-exchange-httpd@.service (1044B)
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 Description=GNU Taler payment system exchange REST API at %I 9 AssertPathExists=/run/taler-exchange/httpd 10 Requires=taler-exchange-httpd@%i.socket taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service 11 After=postgresql.service network.target taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service 12 PartOf=taler-exchange.target 13 14 [Service] 15 User=taler-exchange-httpd 16 Type=simple 17 # Depending on the configuration, the service suicides and then 18 # needs to be restarted. 19 Restart=always 20 # Do not dally on restarts. 21 RestartSec=1ms 22 RestartPreventExitStatus=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