From ac99290823d804bc9e2e3854052cf26f3400d0e4 Mon Sep 17 00:00:00 2001 From: kant777 <61204489+kant777@users.noreply.github.com> Date: Fri, 12 Jan 2024 00:52:03 -0800 Subject: [PATCH] Update entrypoint.sh --- geth-poa/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geth-poa/entrypoint.sh b/geth-poa/entrypoint.sh index 2ca0d81a830a..6db65b522212 100644 --- a/geth-poa/entrypoint.sh +++ b/geth-poa/entrypoint.sh @@ -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)