лабораторная работа 7

This commit is contained in:
2026-11-18 01:02:09 +03:00
parent 20afc2c790
commit b035b50dbd
298 changed files with 28830 additions and 109 deletions
+9
View File
@@ -0,0 +1,9 @@
@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%