Skip to content

Commit

Permalink
fix: Fix sapphire-localnet startup on Mac Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
abukosek committed Jul 9, 2024
1 parent 88e1d9f commit e1e29a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/common/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
# - BEACON_BACKEND: beacon epoch transition mode 'mock' (default) or 'default'
# - OASIS_SINGLE_COMPUTE_NODE: (default: true) if non-empty only run a single compute node

set -euo pipefail

export OASIS_DOCKER_NO_GATEWAY=${OASIS_DOCKER_NO_GATEWAY:-no}

export OASIS_NODE_LOG_LEVEL=${OASIS_NODE_LOG_LEVEL:-warn}
Expand All @@ -36,6 +34,8 @@ OASIS_KM_SOCKET=${OASIS_NODE_DATADIR}/net-runner/network/keymanager-0/internal.s
OASIS_WEB3_GATEWAY_PID=""
OASIS_NODE_PID=""

set -euo pipefail

function cleanup {
if [[ -n "${OASIS_WEB3_GATEWAY_PID}" ]]; then
kill -9 ${OASIS_WEB3_GATEWAY_PID}
Expand Down

0 comments on commit e1e29a2

Please sign in to comment.