--- /usr/ports/net-p2p/bitcoin-daemon/work/stage/usr/local/etc/rc.d/bitcoind 2020-11-20 14:51:08.143601000 +0200 +++ /usr/local/etc/rc.d/bitcoind 2020-11-20 15:10:54.000000000 +0200 @@ -33,7 +33,6 @@ stop_postcmd="bitcoind_wait" command="/usr/local/bin/bitcoind" daemon_command="/usr/sbin/daemon" -pidfile="/var/run/${name}.pid" extra_commands="configtest" @@ -51,6 +50,7 @@ # set up dependant variables procname="${command}" required_files="${bitcoind_config_file}" +pidfile="${bitcoind_data_dir}/${name}.pid" bitcoind_checkconfig() @@ -115,9 +115,9 @@ bitcoind_start() { - echo "Starting bitcoind:" + echo "Starting bitcoind..." cd "${bitcoind_data_dir}" || return 1 - ${daemon_command} -u "${bitcoind_user}" -p "${pidfile}" -f \ + ${daemon_command} -u "${bitcoind_user}" -f \ ${command} \ -conf="${bitcoind_config_file}" \ -datadir="${bitcoind_data_dir}"