Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2020 13:15:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251269] [PATCH] for and net-p2p/bitcoin-daemon to fix startup if datadir is customized
Message-ID:  <bug-251269-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251269

            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@freebsd.org
          Reporter: metacreo@gmail.com
             Flags: maintainer-feedback?(kbowling@freebsd.org)
          Assignee: kbowling@freebsd.org

Created attachment 219828
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219828&action=
=3Dedit
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=3D"${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=3D"${bitcoind_config_file}" \
    -datadir=3D"${bitcoind_data_dir}"
}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251269-7788>