1

I'm curious about the recommended way to restart a systemd service after a configuration change or if there is any particular issue with running sudo service bitcoin restart to have the config change take effect?

1 Answer 1

2

Bitcoin Core reads the bitcoin.conf file on every startup, so if you have it (properly) configured as a systemd service, restarting it that way will indeed make the configuration change take effect.

3
  • Thank you for your response! I do understand this, was also inquiring to see if there are better ways to go about things i.e. be offline for the least amount of time or avoid restarting at a pivotal time unknowingly due to some event occurring simultaneously... If you have any thoughts there it would be much appreciated. Commented Nov 8, 2023 at 15:23
  • There is no pivotal time such that Bitcoin Core would be unwilling to shut down when requested. Recall from the Bitcoin white paper that "nodes can leave and rejoin the network at will". Commented Nov 8, 2023 at 15:32
  • Thank you very much. Appreciate your time. Commented Nov 8, 2023 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.