#!/usr/bin/env bash
set -euo pipefail

./scripts/run_dual_local_tree_replay.sh \
  --routinator-bin "${ROUTINATOR_BIN:-/opt/routinator/target/release/routinator}" \
  --routinator-mirror-root "${ROUTINATOR_MIRROR_ROOT:-/data/replay/mirror}" \
  --rpki-client-bin "${RPKI_CLIENT_BIN:-/opt/rpki-client/src/rpki-client}" \
  --rpki-client-mirror-root "${RPKI_CLIENT_MIRROR_ROOT:-/data/replay/mirror}" \
  --rpki-client-cache-dir "${RPKI_CLIENT_CACHE_DIR:-/data/replay/work/rpki-client-cache}" \
  --tal-dir "${TAL_DIR:-/data/replay/tals}" \
  --out-dir "${OUT_DIR:-/data/replay/out/dual}"
