diff --git a/server.sh b/server.sh index e1d2f90..c66a4c9 100755 --- a/server.sh +++ b/server.sh @@ -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 $*