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:
9
start.bat
Normal file
9
start.bat
Normal 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
|
||||||
Reference in New Issue
Block a user