mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-01 17:43:45 +00:00
Update entrypoint.sh
This commit is contained in:
parent
35aff8430c
commit
ac99290823
1 changed files with 2 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -exu
|
||||
|
||||
GENESIS_L1_PATH="/genesis.json"
|
||||
GENESIS_L1_PATH=${GENESIS_L1_PATH:-/genesis.json}
|
||||
VERBOSITY=3
|
||||
GETH_DATA_DIR=/data
|
||||
GETH_DATA_DIR=${GETH_DATA_DIR:-/data}
|
||||
GETH_CHAINDATA_DIR="$GETH_DATA_DIR/geth/chaindata"
|
||||
GETH_KEYSTORE_DIR="$GETH_DATA_DIR/keystore"
|
||||
CHAIN_ID=$(cat "$GENESIS_L1_PATH" | jq -r .config.chainId)
|
||||
|
|
|
|||
Loading…
Reference in a new issue