[Bug 251269] [PATCH] for and net-p2p/bitcoin-daemon to fix startup if datadir is customized
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 20 13:15:21 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251269
Bug ID: 251269
Summary: [PATCH] for and net-p2p/bitcoin-daemon to fix startup
if datadir is customized
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: kbowling at freebsd.org
Reporter: metacreo at gmail.com
Flags: maintainer-feedback?(kbowling at freebsd.org)
Assignee: kbowling at freebsd.org
Created attachment 219828
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219828&action=edit
patch
Failed to start, auto-start if you specify custom datadir ir rc.conf
My 12.2-RELEASE on ZFS (SSD), bitcoind_data_dir mounted on /opt (HDD)
Normal run only with
pidfile="${bitcoind_data_dir}/${name}.pid"
and if removed -p ( ${daemon_command} -u "${bitcoind_user}" -f )
{
echo "Starting bitcoind..."
cd "${bitcoind_data_dir}" || return 1
${daemon_command} -u "${bitcoind_user}" -f \
${command} \
-conf="${bitcoind_config_file}" \
-datadir="${bitcoind_data_dir}"
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list