svn commit: r482296 - in head/net-p2p: bitcoin-daemon bitcoin/files

Alex Dupre ale at FreeBSD.org
Wed Oct 17 14:29:55 UTC 2018


Author: ale
Date: Wed Oct 17 14:29:53 2018
New Revision: 482296
URL: https://svnweb.freebsd.org/changeset/ports/482296

Log:
  Fix logging.
  
  Approved by:	maintainer

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	Wed Oct 17 13:53:31 2018	(r482295)
+++ head/net-p2p/bitcoin-daemon/Makefile	Wed Oct 17 14:29:53 2018	(r482296)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 MASTERDIR=	${.CURDIR}/../bitcoin
-PORTREVISION=	2
+PORTREVISION=	3
 PKGNAMESUFFIX=	-daemon
 
 COMMENT=	Virtual Peer-to-Peer Currency (Daemon)

Modified: head/net-p2p/bitcoin/files/bitcoind.in
==============================================================================
--- head/net-p2p/bitcoin/files/bitcoind.in	Wed Oct 17 13:53:31 2018	(r482295)
+++ head/net-p2p/bitcoin/files/bitcoind.in	Wed Oct 17 14:29:53 2018	(r482296)
@@ -118,12 +118,10 @@ bitcoind_start()
 {
   echo "Starting bitcoind:"
   cd "${bitcoind_data_dir}" || return 1
-  ${daemon_command} -u "${bitcoind_user}" -p "${pidfile}" \
+  ${daemon_command} -u "${bitcoind_user}" -p "${pidfile}" -o "${bitcoind_data_dir}/bitcoind.log" \
     ${command} \
     -conf="${bitcoind_config_file}" \
-    -datadir="${bitcoind_data_dir}" \
-    2> "${bitcoind_data_dir}/bitcoind.stderr" \
-    > "${bitcoind_data_dir}/bitcoind.stdout"
+    -datadir="${bitcoind_data_dir}"
 }
 
 bitcoind_stop()


More information about the svn-ports-all mailing list