depolymerization

wire gateway for Bitcoin/Ethereum
Log | Files | Refs | Submodules | README | LICENSE

depolymerizer-bitcoin.depolymerizer-bitcoin-httpd.service (1120B)


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