mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 05:49:11 +01:00
17 lines
307 B
Plaintext
17 lines
307 B
Plaintext
|
#!/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 "$@"
|