1 |
commit: 276f5b7df070ff75a260f6c1deea7c5070b39383 |
2 |
Author: Luke Dashjr <luke-jr+git <AT> utopios <DOT> org> |
3 |
AuthorDate: Sun Dec 31 19:50:16 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 31 20:28:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276f5b7d |
7 |
|
8 |
net-p2p/bitcoind: Add missing bitcoin.conf.5 & bitcoind.service-r1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/642920 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/6702 |
12 |
|
13 |
net-p2p/bitcoind/files/bitcoin.conf.5 | 19 +++++++++++++++++++ |
14 |
net-p2p/bitcoind/files/bitcoind.service-r1 | 25 +++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/net-p2p/bitcoind/files/bitcoin.conf.5 b/net-p2p/bitcoind/files/bitcoin.conf.5 |
18 |
new file mode 100644 |
19 |
index 00000000000..839dc26c1aa |
20 |
--- /dev/null |
21 |
+++ b/net-p2p/bitcoind/files/bitcoin.conf.5 |
22 |
@@ -0,0 +1,19 @@ |
23 |
+.TH BITCOIN.CONF "5" "February 2016" "bitcoin.conf 0.12" |
24 |
+.SH NAME |
25 |
+bitcoin.conf \- bitcoin configuration file |
26 |
+.SH SYNOPSIS |
27 |
+All command-line options (except for '\-conf') may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file. |
28 |
+.TP |
29 |
+The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character. Please refer to bitcoind(1) for a up to date list of valid options. |
30 |
+.TP |
31 |
+The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, bitcoind(1) will look for a file named bitcoin.conf(5) in the bitcoin data directory, but both the data directory and the configuration file path may be changed using the '\-datadir' and '\-conf' command-line arguments. |
32 |
+.SH LOCATION |
33 |
+bitcoin.conf should be located in $HOME/.bitcoin |
34 |
+ |
35 |
+.SH "SEE ALSO" |
36 |
+bitcoind(1) |
37 |
+.SH AUTHOR |
38 |
+This manual page was written by Micah Anderson <micah@××××××.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation. |
39 |
+ |
40 |
+On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. |
41 |
+ |
42 |
|
43 |
diff --git a/net-p2p/bitcoind/files/bitcoind.service-r1 b/net-p2p/bitcoind/files/bitcoind.service-r1 |
44 |
new file mode 100644 |
45 |
index 00000000000..ee113d7615c |
46 |
--- /dev/null |
47 |
+++ b/net-p2p/bitcoind/files/bitcoind.service-r1 |
48 |
@@ -0,0 +1,25 @@ |
49 |
+# It is not recommended to modify this file in-place, because it will |
50 |
+# be overwritten during package upgrades. If you want to add further |
51 |
+# options or overwrite existing ones then use |
52 |
+# $ systemctl edit bitcoind.service |
53 |
+# See "man systemd.service" for details. |
54 |
+ |
55 |
+# Note that almost all daemon options could be specified in |
56 |
+# /etc/bitcoin/bitcoin.conf |
57 |
+ |
58 |
+[Unit] |
59 |
+Description=Bitcoin daemon |
60 |
+After=network.target |
61 |
+ |
62 |
+[Service] |
63 |
+ExecStart=/usr/bin/bitcoind -daemon -conf=/etc/bitcoin/bitcoin.conf -pid=/run/bitcoind/bitcoind.pid |
64 |
+# Creates /run/bitcoind owned by bitcoin |
65 |
+RuntimeDirectory=bitcoind |
66 |
+User=bitcoin |
67 |
+Type=forking |
68 |
+PIDFile=/run/bitcoind/bitcoind.pid |
69 |
+Restart=on-failure |
70 |
+PrivateTmp=true |
71 |
+ |
72 |
+[Install] |
73 |
+WantedBy=multi-user.target |