9 lines
322 B
Bash
Executable File
9 lines
322 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Run worker1 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 8485 --api-bind 127.0.0.1 --debug 4
|