Files
didactyl/swarm/worker2/run.sh
T

9 lines
322 B
Bash
Executable File

#!/usr/bin/env bash
# Run worker2 from its own directory.
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$(cd "$HERE/../.." && pwd)"
BIN="${DIDACTYL_BIN:-$ROOT/didactyl_static_x86_64_debug}"
cd "$HERE"
exec "$BIN" --config "$HERE/genesis.jsonc" --api-port 8486 --api-bind 127.0.0.1 --debug 4