Bitcoind.exe as a service

From wiki.electroncash.de
Jump to navigation Jump to search
  • Download Bitcoin Cash Node, Bitcoin Unlimited or other bitcoind.exe
  • Create a data directory for bitcoind.exe
  • Create a configuration file bitcoin.conf for bitcoind
  • Download nssm.exe from https://nssm.cc/download
  • Unpack nssm.exe
  • Open cmd.exe
  • cmd.exe: cd Path\To\nssm
  • cmd.exe: nssm.exe install bitcoind-service
  • Set path to bitcoind.exe and the argument -conf=C:\your\bitcoin.conf -datadir=C:\your\datadir

  • Set Shutdown options

  • Set Exit actions

  • Set a name and description
  • Set startup type: Automatic (Delayed Start)

  • Go to "Log on"-tab and enter a username and password
  • Install the service
  • Now you can start the service in cmd.exe with: nssm.exe start bitcoind-service