depolymerization

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

depolymerizer-bitcoin.depolymerizer-bitcoin-node.service (977B)


      1 [Unit]
      2 Description=Bitcoin daemon
      3 After=network.target
      4 
      5 [Service]
      6 ExecStart=/usr/bin/bitcoind -pid=/run/bitcoind/bitcoind.pid \
      7                             -conf=/etc/bitcoind/bitcoin.conf \
      8                             -datadir=/var/lib/bitcoind \
      9                             -startupnotify='systemd-notify --ready' \
     10                             -shutdownnotify='systemd-notify --stopping'
     11 
     12 User=depolymerizer-bitcoin-node
     13 Group=depolymerizer-bitcoin-cookie
     14 
     15 Restart=on-failure
     16 TimeoutStartSec=infinity
     17 TimeoutStopSec=600
     18 
     19 # /run/bitcoind
     20 RuntimeDirectory=bitcoind
     21 RuntimeDirectoryMode=0710
     22 
     23 # /etc/bitcoind
     24 ConfigurationDirectory=bitcoind
     25 ConfigurationDirectoryMode=0710
     26 
     27 # /var/lib/bitcoind
     28 StateDirectory=bitcoind
     29 StateDirectoryMode=0750
     30 
     31 StandardOutput=journal
     32 StandardError=journal
     33 
     34 PrivateTmp=true
     35 ProtectHome=full
     36 ProtectSystem=true
     37 NoNewPrivileges=true
     38 PrivateDevices=true
     39 MemoryDenyWriteExecute=true
     40 SystemCallArchitectures=native
     41 
     42 [Install]
     43 WantedBy=multi-user.target