fix(deploy): add start.bat for Windows NSSM service

start.bat was created manually on the server but not tracked in git.
git clean -fd in update.ps1 deleted it, preventing service restart.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-04-01 14:04:32 +00:00
parent 452bcd698e
commit 19f6b496dd

9
start.bat Normal file
View File

@@ -0,0 +1,9 @@
@echo off
REM Start GoMag Import Manager - Windows (NSSM service)
cd /d "%~dp0"
set TNS_ADMIN=C:\roa\instantclient_11_2_0_2
set PATH=C:\app\Server\product\18.0.0\dbhomeXE\bin;%PATH%
cd api
"%~dp0venv\Scripts\python.exe" -m uvicorn app.main:app --host 0.0.0.0 --port 5003