Skip to content

Commit 4d14d06

Browse files
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.
1 parent c997f88 commit 4d14d06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/init.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ Installing this .service file consists of just copying it to
8484
To test, run `systemctl start bitcoind` and to enable for system startup run
8585
`systemctl enable bitcoind`
8686

87+
NOTE: When installing for systemd in Debian/Ubuntu the .service file needs to be copied to the /lib/systemd/system directory instead.
88+
8789
### OpenRC
8890

8991
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
9395

9496
### Upstart (for Debian/Ubuntu based distributions)
9597

98+
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.
99+
96100
Drop bitcoind.conf in /etc/init. Test by running `service bitcoind start`
97101
it will automatically start on reboot.
98102

0 commit comments

Comments
 (0)