taler-exchange.taler-exchange-httpd.service (1272B)
1 [Unit] 2 Description=GNU Taler payment system exchange REST API 3 AssertPathExists=/run/taler-exchange/httpd 4 Requires=taler-exchange-httpd.socket taler-exchange-secmod-cs.service taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service 5 After=postgresql.service network.target taler-exchange-secmod-cs.service taler-exchange-secmod-rsa.service taler-exchange-secmod-eddsa.service 6 PartOf=taler-exchange.target 7 8 [Service] 9 User=taler-exchange-httpd 10 Type=simple 11 12 EnvironmentFile=-/etc/taler-exchange/taler-exchange.env 13 14 # Depending on the configuration, the service process kills itself and then 15 # needs to be restarted. Thus no significant delay on restarts. 16 Restart=always 17 RestartMode=direct 18 RestartSec=1ms 19 RestartPreventExitStatus=9 20 21 # Disable the service if more than 5 restarts are encountered within 5s. 22 # These are usually the systemd defaults, but can be overwritten, thus we set 23 # them here explicitly, as the exchange code assumes StartLimitInterval 24 # to be >=5s. 25 StartLimitBurst=5 26 StartLimitInterval=5s 27 28 ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler-exchange/taler-exchange.conf -L INFO 29 StandardOutput=journal 30 StandardError=journal 31 PrivateTmp=no 32 PrivateDevices=yes 33 ProtectSystem=full 34 Slice=taler-exchange.slice 35 36 [Install] 37 WantedBy=multi-user.target