blueness    15/03/04 00:11:48

  Added:                bitcoind.logrotate-r1 0.10.0-openrc-compat.patch
  Log:
  Dependency on leveldb and libsecp256k1 is now handled by the eclass.  Fix 
logrotate, bug #541510.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.1                  net-p2p/bitcoind/files/bitcoind.logrotate-r1

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/files/bitcoind.logrotate-r1?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/files/bitcoind.logrotate-r1?rev=1.1&content-type=text/plain

Index: bitcoind.logrotate-r1
===================================================================
/var/lib/bitcoin/.bitcoin/debug.log {
        missingok
        weekly
        sharedscripts
        postrotate
                killall -HUP bitcoind
        endscript
}



1.1                  net-p2p/bitcoind/files/0.10.0-openrc-compat.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoind/files/0.10.0-openrc-compat.patch?rev=1.1&content-type=text/plain

Index: 0.10.0-openrc-compat.patch
===================================================================
--- contrib/init/bitcoind.openrc        2015-03-03 09:37:59.919728713 +0000
+++ contrib/init/bitcoind.openrc        2015-03-03 09:38:08.109757531 +0000
@@ -12,9 +12,11 @@
 BITCOIND_PIDDIR=${BITCOIND_PIDDIR:-/var/run/bitcoind}
 BITCOIND_PIDFILE=${BITCOIND_PIDFILE:-${BITCOIND_PIDDIR}/bitcoind.pid}
 BITCOIND_DATADIR=${BITCOIND_DATADIR:-${BITCOIND_DEFAULT_DATADIR}}
-BITCOIND_USER=${BITCOIND_USER:-bitcoin}
+BITCOIND_USER=${BITCOIND_USER:-${BITCOIN_USER:-bitcoin}}
 BITCOIND_GROUP=${BITCOIND_GROUP:-bitcoin}
 BITCOIND_BIN=${BITCOIND_BIN:-/usr/bin/bitcoind}
+BITCOIND_NICE=${BITCOIND_NICE:-${NICELEVEL:-0}}
+BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}"
 
 name="Bitcoin Core Daemon"
 description="Bitcoin crypto-currency p2p network daemon"
@@ -28,7 +30,7 @@
 
 required_files="${BITCOIND_CONFIGFILE}"
 start_stop_daemon_args="-u ${BITCOIND_USER} \
-                       -N ${BITCOIND_NICE:-0} -w 2000"
+                       -N ${BITCOIND_NICE} -w 2000"
 pidfile="${BITCOIND_PIDFILE}"
 retry=60
 




Reply via email to