1
0
stack-orchestrator/app/data/container-build/cerc-fixturenet-eth-lighthouse/scripts/status-internal.sh
David Boreham d677e5f369 Fix status script
Former-commit-id: 5a3bdd269d06f17a9062d5c5df05c75f4bbf7745
2023-01-27 08:10:04 -07:00

11 lines
410 B
Bash
Executable File

#!/usr/bin/env bash
# Wrapper to facilitate using status.sh inside the container
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x
fi
export LIGHTHOUSE_BASE_URL="http://fixturenet-eth-lighthouse-1:8001"
export GETH_BASE_URL="http://fixturenet-eth-geth-1:8545"
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
$SCRIPT_DIR/status.sh