depolymerization

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

depolymerizer-bitcoin.depolymerizer-bitcoin-worker.service (960B)


      1 [Unit]
      2 Description=GNU Taler Bitcoin depolymerizer worker
      3 After=network.target postgres.service
      4 PartOf=depolymerizer-bitcoin.target
      5 
      6 [Service]
      7 User=depolymerizer-bitcoin-worker
      8 Type=simple
      9 
     10 # Depending on the configuration, the service process kills itself and then
     11 # needs to be restarted. Thus no significant delay on restarts.
     12 Restart=always
     13 RestartMode=direct
     14 RestartSec=1ms
     15 RestartPreventExitStatus=9
     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/depolymerizer-bitcoin worker -c /etc/depolymerizer-bitcoin/depolymerizer-bitcoin.conf
     25 StandardOutput=journal
     26 StandardError=journal
     27 PrivateTmp=yes
     28 PrivateDevices=yes
     29 ProtectSystem=full
     30 Slice=depolymerizer-bitcoin.slice
     31 
     32 [Install]
     33 WantedBy=multi-user.target