mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Merge #16556: Fix systemd service file configuration directory setup
f3b57f4a1cUnrecommend making config file owned by bitcoin (setpill)870d4152dfSet ProtectHome in systemd service file (setpill)639a416e37Chgrp config dir to bitcoin in systemd service (setpill)aded0528f0Improve clarity of systemd service file comments (setpill) Pull request description: Rationale: ran into a bug with the systemd service file, fixed it locally and figured I might as well contribute my fix. Also fixed some unrelated confusing phrasing in the comments of the same file, after discussion in IRC. ACKs for top commit: sipsorcery: tACKf3b57f4a1c(nothing changed since previous tACK). ryanofsky: utACKf3b57f4a1c. Only change since last review is removing ConfigurationDirectoryMode churn in early commits Tree-SHA512: 2188345878925b9e8a5c2c3df8dfba443720e2252a164db54a8e1d8007846721497b2d98c56f1d9b60a9a9ed4fdb1156c7b02c699616b220a9b614671617d32a
This commit is contained in:
10
doc/init.md
10
doc/init.md
@@ -59,11 +59,11 @@ Data directory: `/var/lib/bitcoind`
|
||||
PID file: `/var/run/bitcoind/bitcoind.pid` (OpenRC and Upstart) or `/run/bitcoind/bitcoind.pid` (systemd)
|
||||
Lock file: `/var/lock/subsys/bitcoind` (CentOS)
|
||||
|
||||
The configuration file, PID directory (if applicable) and data directory
|
||||
should all be owned by the bitcoin user and group. It is advised for security
|
||||
reasons to make the configuration file and data directory only readable by the
|
||||
bitcoin user and group. Access to bitcoin-cli and other bitcoind rpc clients
|
||||
can then be controlled by group membership.
|
||||
The PID directory (if applicable) and data directory should both be owned by the
|
||||
bitcoin user and group. It is advised for security reasons to make the
|
||||
configuration file and data directory only readable by the bitcoin user and
|
||||
group. Access to bitcoin-cli and other bitcoind rpc clients can then be
|
||||
controlled by group membership.
|
||||
|
||||
NOTE: When using the systemd .service file, the creation of the aforementioned
|
||||
directories and the setting of their permissions is automatically handled by
|
||||
|
||||
Reference in New Issue
Block a user