neobytes/contrib/debian/bin/bitcoind
Matt Corallo 8f6111bb9c Update contrib/debian.
* Updates package description to note that blockchain now takes
  2+ GB instead of 150+ MB.

* Stop creating DB_CONFIG with DB_LOG_AUTO_REMOVE as that is set
  in Bitcoin itself now.

* Update changelog with 0.6.2 and the current updates.
2012-06-02 16:45:14 +02:00

15 lines
258 B
Bash
Executable File

#!/bin/sh
set -e
umask 077
basedir=~/.bitcoin
cfgfile="$basedir/bitcoin.conf"
[ -e "$basedir" ] || mkdir "$basedir"
[ -e "$cfgfile" ] || perl -le 'print"rpcpassword=",map{(a..z,A..Z,0..9)[rand 62]}0..9' > "$cfgfile"
exec /usr/lib/bitcoin/bitcoind "$@"