Files
mtusi2026lab4/scripts/stop-one.cmd
T
Чиняева f39ae06ef3 Реализовать лабораторную 4 на оценку 5
Добавить приватное S3-хранилище, вложения, presigned upload, reconciler и доказательства.
2026-11-07 01:37:21 +03:00

9 lines
351 B
Batchfile

# Stop exactly ONE API replica from a Windows host.
# The public failover test sets TARGET_INSTANCE_ID; the PowerShell helper maps
# the alias (container hostname) to the matching Compose container.
@echo off
setlocal
if "%TARGET_INSTANCE_ID%"=="" exit /b 2
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0stop-one.ps1"
exit /b %ERRORLEVEL%