<p>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.</p>

CC BY-SA 4.0
2023-11-08T15:23:40.667Z
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.
Nicholas Sandomeno
CC BY-SA 4.0
2023-11-08T15:32:50.190Z
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".
Vojtěch Strnad
CC BY-SA 4.0
2023-11-08T15:49:37.717Z
Thank you very much. Appreciate your time.
Nicholas Sandomeno
CC BY-SA 4.0
2023-11-08T00:55:40.423Z
2023-11-08T00:55:40.423Z
Vojtěch Strnad
<p>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 <code>sudo service bitcoin restart</code> to have the config change take effect?</p>

CC BY-SA 4.0
2024-12-23T16:27:22.353Z
https://github.com/bitcoin/bitcoin/issues/11586#issuecomment-341737656
qpaycm
<bitcoin-core><bitcoind><full-node><ubuntu><bitcoin.conf>
What is the best way to restart bitcoind after a bitcoin.conf change (Ubuntu 23.10)
Nicholas Sandomeno
# What is the best way to restart bitcoind after a bitcoin.conf change (Ubuntu 23.10)

(Asked by: username_0 on 2023-11-07)

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?

**Tags:** bitcoin-core, bitcoind, full-node, ubuntu, bitcoin.conf

> **Comments:**
> **username_1**: https://github.com/bitcoin/bitcoin/issues/11586#issuecomment-341737656  

---

## 1 answers

### Answer by username_2 on 2023-11-08. Score: 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.

> **Comments:**
> **username_0**: 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.  
> **username_2**: 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".  
> **username_0**: Thank you very much. Appreciate your time.  

---

