Skip to content

Instantly share code, notes, and snippets.

@v6
Created March 26, 2017 18:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v6/9a421e10728f22dfe2a0f5ffae501670 to your computer and use it in GitHub Desktop.
Save v6/9a421e10728f22dfe2a0f5ffae501670 to your computer and use it in GitHub Desktop.
// , sudo service bcoin start
[Unit]
Description=BCoin server
After=network.target auditd.service
[Service]
User=root
ExecStart=/home/bcoin/bcoin/bin/bcoin --network "testnet" --nodes "seed.tbtc.petertodd.org,testnet-seed.bluematt.me,testnet-seed.bitcoin.schildbach.de" --host "\'::\'" --public-host 104.197.196.156
Type=simple
RestartSec=60
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=bcoin.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment