mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Allow setting DB name via server.sh
This commit is contained in:
parent
b61537a3f3
commit
8ad3ae0e9b
@ -8,7 +8,7 @@ cargo build --all --features "metrics_process" --release
|
|||||||
NETWORK=$1
|
NETWORK=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
DB=./db
|
DB=${DB-./db}
|
||||||
export RUST_LOG=${RUST_LOG-electrs=INFO}
|
export RUST_LOG=${RUST_LOG-electrs=INFO}
|
||||||
target/release/electrs --network $NETWORK --db-dir $DB --daemon-dir $HOME/.bitcoin $*
|
target/release/electrs --network $NETWORK --db-dir $DB --daemon-dir $HOME/.bitcoin $*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user