exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

taler-exchange.taler-exchange-httpd.service (1141B)


      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=postgres.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 # Depending on the configuration, the service process kills itself and then
     13 # needs to be restarted. Thus no significant delay on restarts.
     14 Restart=always
     15 RestartSec=1ms
     16 
     17 # Disable the service if more than 5 restarts are encountered within 5s.
     18 # These are usually the systemd defaults, but can be overwritten, thus we set
     19 # them here explicitly, as the exchange code assumes StartLimitInterval
     20 # to be >=5s.
     21 StartLimitBurst=5
     22 StartLimitInterval=5s
     23 
     24 ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/taler.conf
     25 StandardOutput=journal
     26 StandardError=journal
     27 PrivateTmp=no
     28 PrivateDevices=yes
     29 ProtectSystem=full
     30 Slice=taler-exchange.slice
     31 
     32 [Install]
     33 WantedBy=multi-user.target