Provide resource profiles, persistent storage, parallel Nginx health checks and graceful restart hooks.
11 lines
270 B
Batchfile
11 lines
270 B
Batchfile
@echo off
|
|
setlocal
|
|
if defined GIT_BASH goto run
|
|
set "GIT_BASH=%ProgramFiles%\Git\bin\bash.exe"
|
|
if exist "%GIT_BASH%" goto run
|
|
echo Git Bash was not found. Set GIT_BASH to the full path to bash.exe. 1>&2
|
|
exit /b 2
|
|
:run
|
|
"%GIT_BASH%" "%~dp0restart.sh"
|
|
exit /b %ERRORLEVEL%
|