1
0
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:
Roman Zeyde 2023-08-18 22:02:47 +03:00
parent b61537a3f3
commit 8ad3ae0e9b

View File

@ -8,7 +8,7 @@ cargo build --all --features "metrics_process" --release
NETWORK=$1
shift
DB=./db
DB=${DB-./db}
export RUST_LOG=${RUST_LOG-electrs=INFO}
target/release/electrs --network $NETWORK --db-dir $DB --daemon-dir $HOME/.bitcoin $*