Files
mtusi2026lab5-fork/scripts/restart.cmd

10 lines
331 B
Batchfile

@echo off
rem Windows-вариант restart.sh: API + PostgreSQL + Redis + S3 + 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%