summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2020-11-17 02:36:54 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2020-11-17 02:36:54 +0000
commitf0acac574db8f3c4383b0f501a93ace18ac5a0a9 (patch)
tree3371a5d601cf9360b095febdd4f9ab33f9851b61 /net-p2p
parentnet-im/chatterino2: fix crash on startup (diff)
net-p2p/bitcoin-daemon: Move PID to /var/run
This deconflicts the GUI client, and fixes a permission error for the daemon even when running stand alone. PR: 246792 Reported by: Seth586 at protonmail.com, oobaz at frammish.org Sponsored by: BBOX.io
Notes
Notes: svn path=/head/; revision=555537
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bitcoin-daemon/Makefile2
-rw-r--r--net-p2p/bitcoin/files/bitcoind.in3
2 files changed, 2 insertions, 3 deletions
diff --git a/net-p2p/bitcoin-daemon/Makefile b/net-p2p/bitcoin-daemon/Makefile
index a1d642c3d573..a6aab4686504 100644
--- a/net-p2p/bitcoin-daemon/Makefile
+++ b/net-p2p/bitcoin-daemon/Makefile
@@ -25,7 +25,7 @@ PLIST_FILES= bin/bitcoind \
USE_RC_SUBR= bitcoind
-PORTREVISION= 2
+PORTREVISION= 3
post-install:
${INSTALL_DATA} ${FILESDIR}/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/bitcoin.conf.sample
diff --git a/net-p2p/bitcoin/files/bitcoind.in b/net-p2p/bitcoin/files/bitcoind.in
index 75898677e6db..e405fba3ace4 100644
--- a/net-p2p/bitcoin/files/bitcoind.in
+++ b/net-p2p/bitcoin/files/bitcoind.in
@@ -33,7 +33,7 @@ stop_cmd="bitcoind_stop"
stop_postcmd="bitcoind_wait"
command="%%PREFIX%%/bin/bitcoind"
daemon_command="/usr/sbin/daemon"
-#pidfile="/var/run/${name}.pid"
+pidfile="/var/run/${name}.pid"
extra_commands="configtest"
@@ -50,7 +50,6 @@ load_rc_config ${name}
# set up dependant variables
procname="${command}"
-pidfile="${bitcoind_data_dir}/bitcoind.pid"
required_files="${bitcoind_config_file}"