Files
2026-11-06 17:30:30 +03:00

8 lines
257 B
Bash
Executable File

#!/bin/sh
set -eu
# Fault-injection hook: stop the lab5 worker and leave it stopped.
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
cd "$ROOT_DIR"
COMPOSE_BIN=${COMPOSE_BIN:-docker compose}
$COMPOSE_BIN --env-file .env -f compose.yaml stop worker