#!/bin/sh # Restart hook of `make test-persistence`: stops the whole stand gracefully and # starts the same containers again; volumes are kept. set -eu cd "$(dirname "$0")/.." docker compose stop # Compose starts both one-shot jobs and waits for their successful exit # before either API replica or the worker can start. docker compose up -d --wait sh scripts/wait-ready.sh