svn commit: r555537 - in head/net-p2p: bitcoin-daemon bitcoin/files
Kevin Bowling
kbowling at FreeBSD.org
Tue Nov 17 02:36:55 UTC 2020
Author: kbowling
Date: Tue Nov 17 02:36:54 2020
New Revision: 555537
URL: https://svnweb.freebsd.org/changeset/ports/555537
Log:
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
Modified:
head/net-p2p/bitcoin-daemon/Makefile
head/net-p2p/bitcoin/files/bitcoind.in
Modified: head/net-p2p/bitcoin-daemon/Makefile
==============================================================================
--- head/net-p2p/bitcoin-daemon/Makefile Tue Nov 17 02:31:57 2020 (r555536)
+++ head/net-p2p/bitcoin-daemon/Makefile Tue Nov 17 02:36:54 2020 (r555537)
@@ -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
Modified: head/net-p2p/bitcoin/files/bitcoind.in
==============================================================================
--- head/net-p2p/bitcoin/files/bitcoind.in Tue Nov 17 02:31:57 2020 (r555536)
+++ head/net-p2p/bitcoin/files/bitcoind.in Tue Nov 17 02:36:54 2020 (r555537)
@@ -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}"
More information about the svn-ports-head
mailing list