Skip to content

Commit

Permalink
use stop-btc instead of bitcoin-cli stop because it blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWestgate committed Jun 15, 2024
1 parent 819de52 commit 1231b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bails/.local/bin/install-core
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ else
until [ -f $DATA_DIR/bitcoind.pid ]; do
zenity --notification --text="Use the default data directory$prune_text.\n<i>$HOME/.bitcoin</i>$prune_text2" --window-icon=bails128
pgrep bitcoin || wrapped bitcoin-qt -choosedatadir -prune=$prune_MiB -min
bitcoin-cli --rpcwait createwallet test_permissions && bitcoin-cli stop
bitcoin-cli --rpcwait createwallet test_permissions && stop-btc
# grep /strDataDir= $XDG_CONFIG_HOME/Bitcoin/Bitcoin-Qt.conf && stop-btc
sed -i '/strDataDir=/d' $XDG_CONFIG_HOME/Bitcoin/Bitcoin-Qt.conf
done
Expand Down

0 comments on commit 1231b71

Please sign in to comment.