Skip to content

Commit

Permalink
add missing file to sed command (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWestgate authored Mar 28, 2024
1 parent 2850bdc commit d2b0d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install-core
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ tar -xvf bitcoin-*-x86_64-linux-gnu.tar* --strip-components=1 --directory=$LOCAL
mkdir --parents $DATA_DIR/{chainstate,wallets,blocks}
mv --force $LOCAL_DIR/{bitcoin.conf,README.md} $DATA_DIR
sed --in-place 's/#rpcport=<port>/rpcport=17600/' $DATA_DIR/bitcoin.conf # set -rpcport for Tails
sed --in-place "s/#datadir=<dir>/datadir=$DATA_DIR/"
sed --in-place "s/#datadir=<dir>/datadir=$DATA_DIR/" $DATA_DIR/bitcoin.conf # set -datadir for Tails
ln --symbolic --force /media/$USER $DATA_DIR/wallets # links media mount directory to wallets folder for easier loading of watch encrypted or external media wallets
chmod -w $DATA_DIR/wallets # TODO see what permissions bitcoin-core would have made its folders at.
ln --symbolic --force /tmp/debug.log $DATA_DIR/debug.log # links debug.log to tmp so logs won't persist restart
Expand Down

0 comments on commit d2b0d21

Please sign in to comment.