<p>After putting the systemd file in <code>/etc/systemd/system</code>, make sure that your systemd file is set up to work with your installation (binary path, datadir path, etc. are correct). Then run <code>sudo systemctl enable bitcoind</code>.</p>

<p>Alternatively you can do edit your crontab with <code>crontab -e</code> and add the line </p>

<pre><code>@reboot bitcoind
</code></pre>

CC BY-SA 4.0
2021-08-21T05:18:42.007Z
do you really need to put the executable in the system folder? Update path and add the root folder for the daemon so it can be updated easier and not forget to copy everything over...
GoZippy
CC BY-SA 4.0
2018-08-09T21:50:32.170Z
2018-08-09T21:50:32.170Z
Ava Chow
<p>Is there an easy way to ensure that bitcoind restarts on system reboot? I tried placing the systemd service file in /etc/systemd/system but that didn't seem to work... thanks in advance</p>

CC BY-SA 4.0
2018-08-09T21:08:33.820Z
Try https://askubuntu.com/ if you're facing issues with the systemd script, it's not bitcoin specific, and those guys are a lot better at the whole linux side of things
Raghav Sood
<bitcoind>
how to get bitcoind to launch on startup/reboot? ubuntu 16.04
sizzlecookie
# how to get bitcoind to launch on startup/reboot? ubuntu 16.04

(Asked by: username_0 on 2018-08-09)

Is there an easy way to ensure that bitcoind restarts on system reboot? I tried placing the systemd service file in /etc/systemd/system but that didn't seem to work... thanks in advance

**Tags:** bitcoind

> **Comments:**
> **username_1**: Try https://askubuntu.com/ if you're facing issues with the systemd script, it's not bitcoin specific, and those guys are a lot better at the whole linux side of things  

---

## 1 answers

### Answer by username_2 on 2018-08-09. Score: 1 | Accepted answer

After putting the systemd file in /etc/systemd/system, make sure that your systemd file is set up to work with your installation (binary path, datadir path, etc. are correct). Then run sudo systemctl enable bitcoind.
Alternatively you can do edit your crontab with crontab -e and add the line 
@reboot bitcoind

> **Comments:**
> **username_3**: do you really need to put the executable in the system folder? Update path and add the root folder for the daemon so it can be updated easier and not forget to copy everything over...  

---

