@@ -4,11 +4,11 @@ Sample init scripts and service configuration for bitcoind
4
4
Sample scripts and configuration files for systemd, Upstart and OpenRC
5
5
can be found in the contrib/init folder.
6
6
7
- contrib/init/bitcoind.service: systemd service unit configuration
8
- contrib/init/bitcoind.openrc: OpenRC compatible SysV style init script
9
- contrib/init/bitcoind.openrcconf: OpenRC conf.d file
10
- contrib/init/bitcoind.conf: Upstart service configuration file
11
- contrib/init/bitcoind.init: CentOS compatible SysV style init script
7
+ contrib/init/bitcoind.service: systemd service unit configuration
8
+ contrib/init/bitcoind.openrc: OpenRC compatible SysV style init script
9
+ contrib/init/bitcoind.openrcconf: OpenRC conf.d file
10
+ contrib/init/bitcoind.conf: Upstart service configuration file
11
+ contrib/init/bitcoind.init: CentOS compatible SysV style init script
12
12
13
13
Service User
14
14
---------------------------------
@@ -53,11 +53,12 @@ Paths
53
53
54
54
All three configurations assume several paths that might need to be adjusted.
55
55
56
- Binary: ` /usr/bin/bitcoind `
57
- Configuration file: ` /etc/bitcoin/bitcoin.conf `
58
- Data directory: ` /var/lib/bitcoind `
59
- PID file: ` /var/run/bitcoind/bitcoind.pid ` (OpenRC and Upstart) or ` /run/bitcoind/bitcoind.pid ` (systemd)
60
- Lock file: ` /var/lock/subsys/bitcoind ` (CentOS)
56
+ Binary: /usr/bin/bitcoind
57
+ Configuration file: /etc/bitcoin/bitcoin.conf
58
+ Data directory: /var/lib/bitcoind
59
+ PID file: /var/run/bitcoind/bitcoind.pid (OpenRC and Upstart) or
60
+ /run/bitcoind/bitcoind.pid (systemd)
61
+ Lock file: /var/lock/subsys/bitcoind (CentOS)
61
62
62
63
The PID directory (if applicable) and data directory should both be owned by the
63
64
bitcoin user and group. It is advised for security reasons to make the
@@ -83,10 +84,10 @@ OpenRC).
83
84
84
85
### macOS
85
86
86
- Binary: ` /usr/local/bin/bitcoind `
87
- Configuration file: ` ~/Library/Application Support/Bitcoin/bitcoin.conf `
88
- Data directory: ` ~/Library/Application Support/Bitcoin `
89
- Lock file: ` ~/Library/Application Support/Bitcoin/.lock `
87
+ Binary: /usr/local/bin/bitcoind
88
+ Configuration file: ~/Library/Application Support/Bitcoin/bitcoin.conf
89
+ Data directory: ~/Library/Application Support/Bitcoin
90
+ Lock file: ~/Library/Application Support/Bitcoin/.lock
90
91
91
92
Installing Service Configuration
92
93
-----------------------------------
0 commit comments