Files
mtusi2026lab5/scripts/restart.sh
T

8 lines
304 B
Bash
Executable File

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
./scripts/compose.sh restart postgres redis s3 broker
./scripts/compose.sh up -d --wait --wait-timeout 60 postgres redis s3 broker
./scripts/compose.sh restart api lb dispatcher worker
./scripts/compose.sh up -d --wait --wait-timeout 60 api lb dispatcher worker