9 lines
378 B
Bash
Executable File
9 lines
378 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Restart hook for `make test-persistence ACTION_SCRIPT=scripts/restart.sh`.
|
|
# Semantic and evidence notes: tests/README.md ("Проверка сохранности") and REPORT.md.
|
|
set -euo pipefail
|
|
|
|
compose=(docker compose --env-file .env)
|
|
"${compose[@]}" restart postgres redis api
|
|
"${compose[@]}" up -d --no-recreate --no-deps --wait postgres redis api
|