twisterp2pblockchainnetworkbittorrentipv6microbloggingsocial-networkdhtdecentralizedtwister-coretwisterarmyp2p-networktwister-servertwister-ipv6
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
307 B
16 lines
307 B
#!/bin/sh |
|
|
|
set -e |
|
|
|
umask 077 |
|
|
|
basedir=~/.bitcoin |
|
dbfile="$basedir/DB_CONFIG" |
|
cfgfile="$basedir/bitcoin.conf" |
|
|
|
[ -e "$basedir" ] || mkdir "$basedir" |
|
|
|
# Bitcoin does not clean up DB log files by default |
|
[ -e "$dbfile" ] || echo 'set_flags DB_LOG_AUTOREMOVE' > "$dbfile" |
|
|
|
exec /usr/lib/bitcoin/bitcoin-qt "$@"
|
|
|