From 4d14d06fcbd63c64257c09ef0a09ad84efdb6d2e Mon Sep 17 00:00:00 2001 From: DaveFromBinary <36311895+DaveFromBinary@users.noreply.github.com> Date: Fri, 16 Feb 2018 11:32:50 -0700 Subject: [PATCH] docs: clarified systemd installation instructions in init.md for Ubuntu users. Added a note to init.md to clarify the .service copy path for newer versions of Ubuntu because it differs from the described copy path. Also noted what version of Ubuntu switched to systemd for the default system init. --- doc/init.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/init.md b/doc/init.md index 75f9013f29..ffd13ae1f9 100644 --- a/doc/init.md +++ b/doc/init.md @@ -84,6 +84,8 @@ Installing this .service file consists of just copying it to To test, run `systemctl start bitcoind` and to enable for system startup run `systemctl enable bitcoind` +NOTE: When installing for systemd in Debian/Ubuntu the .service file needs to be copied to the /lib/systemd/system directory instead. + ### OpenRC Rename bitcoind.openrc to bitcoind and drop it in /etc/init.d. Double @@ -93,6 +95,8 @@ check ownership and permissions and make it executable. Test it with ### Upstart (for Debian/Ubuntu based distributions) +Upstart is the default init system for Debian/Ubuntu versions older than 15.04. If you are using version 15.04 or newer and haven't manually configured upstart you should follow the systemd instructions instead. + Drop bitcoind.conf in /etc/init. Test by running `service bitcoind start` it will automatically start on reboot.