forked from mtusi2026/mtusi2026lab7
10 lines
375 B
Batchfile
10 lines
375 B
Batchfile
@echo off
|
|
rem Windows-вариант restart.sh (lab7): API, worker, PostgreSQL, Redis, broker(+gate), S3, OpenBao(+unseal), LB; volumes сохраняются.
|
|
rem python tests\resilience.py --mode persistence --action-script scripts\restart.cmd
|
|
setlocal
|
|
cd /d "%~dp0.."
|
|
set PY=python
|
|
where python >nul 2>nul || set PY=py -3
|
|
%PY% scripts\ops.py restart
|
|
exit /b %ERRORLEVEL%
|