Files
mtusi2026lab4/scripts/restart.sh
T

8 lines
224 B
Bash
Executable File

#!/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
docker compose up -d --wait