From 19f6b496dd6a67ecf61fb614eeea59080f7d4479 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Wed, 1 Apr 2026 14:04:32 +0000 Subject: [PATCH] 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) --- start.bat | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 start.bat diff --git a/start.bat b/start.bat new file mode 100644 index 0000000..abe3c34 --- /dev/null +++ b/start.bat @@ -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