10 lines
486 B
Bash
10 lines
486 B
Bash
#!/bin/sh
|
|
# Restart hook (tests/resilience.py --mode persistence): restarts ALL stores with their volumes (nothing is removed), then re-unseals OpenBao,
|
|
# refreshes the 24 h SecretIDs and restarts the services that fetch secrets.
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
docker compose restart postgres redis s3 kafka openbao prometheus loki tempo
|
|
sh scripts/bao_unseal.sh
|
|
sh scripts/bao_secret_id.sh all >/dev/null
|
|
docker compose restart api dispatcher worker s3_sweeper otel-collector grafana
|