| 1234567891011121314151617181920212223242526272829303132333435 |
- @echo off
- echo ========================================
- echo Market Data Proxy Stopper
- echo ========================================
- echo.
- echo Stopping Nginx...
- REM Find and kill nginx process
- taskkill /f /im nginx.exe >nul 2>&1
- if !errorLevel! == 0 (
- echo [✓] Nginx stopped
- ) else (
- echo [ℹ] Nginx was not running
- )
- echo.
- echo Stopping Node.js API server...
- REM Find and kill node processes (npm start creates node.exe)
- taskkill /f /im node.exe >nul 2>&1
- if !errorLevel! == 0 (
- echo [✓] Node.js API server stopped
- ) else (
- echo [ℹ] Node.js API server was not running
- )
- echo.
- echo ========================================
- echo All services stopped!
- echo ========================================
- echo.
- echo You can now safely close applications or restart services.
- echo.
- echo Press any key to close this window...
- pause >nul
|