Update entrypoint.sh

This commit is contained in:
kant777 2024-01-20 02:22:08 -08:00 committed by GitHub
parent 4390d07b67
commit e680d3588b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,11 +99,12 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then
elif [ "$GETH_NODE_TYPE" = "signer" ]; then
echo "Starting signer node"
echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT"
GETH_PORT="${GETH_PORT:-30311}"
exec "$GETH_BIN_PATH" \
--verbosity="$VERBOSITY" \
--datadir="$GETH_DATA_DIR" \
--port 30311 \
--port="$GETH_PORT" \
--syncmode=full \
--gcmode=full \
--state.scheme=path \
@ -144,11 +145,12 @@ elif [ "$GETH_NODE_TYPE" = "signer" ]; then
elif [ "$GETH_NODE_TYPE" = "member" ]; then
echo "Starting member node"
echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT"
GETH_PORT="${GETH_PORT:-30311}"
exec "$GETH_BIN_PATH" \
--verbosity="$VERBOSITY" \
--datadir="$GETH_DATA_DIR" \
--port 30311 \
--port="$GETH_PORT" \
--syncmode=full \
--gcmode=full \
--state.scheme=path \