Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2018 14:29:54 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482296 - in head/net-p2p: bitcoin-daemon bitcoin/files
Message-ID:  <201810171429.w9HETsZo075515@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



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