From ca843c7c49bb73af85eba70127b3b09e3642a20f Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Wed, 8 Nov 2017 08:18:27 +0000 Subject: [PATCH] net-p2p/bitcoin: fix typos in startup script PR: 223495 Submitted by: vd@ Approved by: robbak@gmail.com (maintainer) --- net-p2p/bitcoin/Makefile | 1 + net-p2p/bitcoin/files/bitcoind.in | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile index 822c7898e308..934907dfcbe7 100644 --- a/net-p2p/bitcoin/Makefile +++ b/net-p2p/bitcoin/Makefile @@ -4,6 +4,7 @@ PORTNAME= bitcoin PORTVERSION= 0.15.0.1 DISTVERSIONPREFIX= v +PORTREVISION?= 1 CATEGORIES= net-p2p finance MAINTAINER= robbak@robbak.com diff --git a/net-p2p/bitcoin/files/bitcoind.in b/net-p2p/bitcoin/files/bitcoind.in index e620d9dcc4fb..4df6ec8f6bc1 100644 --- a/net-p2p/bitcoin/files/bitcoind.in +++ b/net-p2p/bitcoin/files/bitcoind.in @@ -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()