#!/bin/sh set -e export CFG_FILE_PATH="/config.yaml" \ CFG_SERVER_ADDR="${CFG_SERVER_ADDR:-http://cfgsync:4400}" \ CFG_HOST_IP=$(hostname -i) \ CFG_HOST_KIND="${CFG_HOST_KIND:-executor}" \ CFG_HOST_IDENTIFIER="${CFG_HOST_IDENTIFIER:-executor-$(hostname -i)}" \ LOG_LEVEL="INFO" \ POL_PROOF_DEV_MODE=true # Ensure recovery directory exists to avoid early crashes in services that # persist state. mkdir -p /recovery /usr/bin/cfgsync-client # Align bootstrap timing with validators to keep configs consistent. sed -i "s/prolonged_bootstrap_period: .*/prolonged_bootstrap_period: '3.000000000'/" /config.yaml exec /usr/bin/nomos-executor /config.yaml