Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2017 08:18:27 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453725 - in head/net-p2p/bitcoin: . files
Message-ID:  <201711080818.vA88IRoO047007@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Wed Nov  8 08:18:27 2017
New Revision: 453725
URL: https://svnweb.freebsd.org/changeset/ports/453725

Log:
  net-p2p/bitcoin: fix typos in startup script
  
  PR:		223495
  Submitted by:	vd@
  Approved by:	robbak@gmail.com (maintainer)

Modified:
  head/net-p2p/bitcoin/Makefile
  head/net-p2p/bitcoin/files/bitcoind.in

Modified: head/net-p2p/bitcoin/Makefile
==============================================================================
--- head/net-p2p/bitcoin/Makefile	Wed Nov  8 08:15:20 2017	(r453724)
+++ head/net-p2p/bitcoin/Makefile	Wed Nov  8 08:18:27 2017	(r453725)
@@ -4,6 +4,7 @@
 PORTNAME=	bitcoin
 PORTVERSION=	0.15.0.1
 DISTVERSIONPREFIX=	v
+PORTREVISION?=	1
 CATEGORIES=	net-p2p finance
 
 MAINTAINER=	robbak@robbak.com

Modified: head/net-p2p/bitcoin/files/bitcoind.in
==============================================================================
--- head/net-p2p/bitcoin/files/bitcoind.in	Wed Nov  8 08:15:20 2017	(r453724)
+++ head/net-p2p/bitcoin/files/bitcoind.in	Wed Nov  8 08:18:27 2017	(r453725)
@@ -12,7 +12,7 @@
 # bitcoind_user (str)		Set to "bitcoin" by default.
 # bitcoind_group (str)		Set to "bitcoin" by default.
 # bitcoind_conf (str)		Set to "%%PREFIX%%/etc/bitcoind.conf" by default.
-# bitcoind_data (str)		Set to "/var/lib/bitcoin" by default.
+# bitcoind_data_dir (str)	Set to "/var/db/bitcoin" by default.
 # bitcoindlimits_enable (bool)	Set to "NO" by default.
 #				Set it to "YES" to enable bitcoindlimits
 # bitcoindlimits_args		Set to "-e -U ${bitcoind_user}" by default
@@ -121,7 +121,9 @@ bitcoind_start()
   ${daemon_command} -u "${bitcoind_user}" -p "${pidfile}" \
     ${command} \
     -conf="${bitcoind_config_file}" \
-    -datadir="${bitcoind_data_dir}" 2> /tmp/bitcoind.stderr > /tmp/bitcoind.stdout
+    -datadir="${bitcoind_data_dir}" \
+    2> "${bitcoind_data_dir}/bitcoind.stderr" \
+    > "${bitcoind_data_dir}/bitcoind.stdout"
 }
 
 bitcoind_stop()



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