Skip to content

Instantly share code, notes, and snippets.

@ericallam
Created November 6, 2017 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericallam/7e15f8cb46931cf933440cdab49eecb0 to your computer and use it in GitHub Desktop.
Save ericallam/7e15f8cb46931cf933440cdab49eecb0 to your computer and use it in GitHub Desktop.
[Unit]
Description=Bitcoin's distributed currency daemon
After=network.target
[Service]
User=bitcoin
Group=bitcoin
Type=forking
PIDFile=/mnt/volume-lon1-03-part1/Bitcoin/bitcoind.pid
ExecStart=/usr/bin/bitcoind -daemon -pid=/mnt/volume-lon1-03-part1/Bitcoin/bitcoind.pid \
-conf=/home/bitcoin/.bitcoin/bitcoin.conf -datadir=/mnt/volume-lon1-03-part1/Bitcoin
Restart=always
PrivateTmp=true
TimeoutStopSec=60s
TimeoutStartSec=2s
StartLimitInterval=120s
StartLimitBurst=5
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment