forked from kbengine/kbengine_demos_assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_server_background.bat
28 lines (23 loc) · 1.05 KB
/
start_server_background.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
set curpath=%~dp0
cd ..
set KBE_ROOT=%cd%
set KBE_RES_PATH=%KBE_ROOT%/kbe/res/;%curpath%/;%curpath%/scripts/;%curpath%/res/
set KBE_BIN_PATH=%KBE_ROOT%/kbe/bin/server/
if defined uid (echo UID = %uid%) else set uid=%random%%%32760+1
cd %curpath%
call "kill_server.bat"
echo KBE_ROOT = %KBE_ROOT%
echo KBE_RES_PATH = %KBE_RES_PATH%
echo KBE_BIN_PATH = %KBE_BIN_PATH%
start %KBE_BIN_PATH%/machine.exe --cid=1000 --gus=1 --hide=1
start %KBE_BIN_PATH%/logger.exe --cid=2000 --gus=2 --hide=1
start %KBE_BIN_PATH%/interfaces.exe --cid=3000 --gus=3 --hide=1
start %KBE_BIN_PATH%/dbmgr.exe --cid=4000 --gus=4 --hide=1
start %KBE_BIN_PATH%/baseappmgr.exe --cid=5000 --gus=5 --hide=1
start %KBE_BIN_PATH%/cellappmgr.exe --cid=6000 --gus=6 --hide=1
start %KBE_BIN_PATH%/baseapp.exe --cid=7001 --gus=7 --hide=1
@rem start %KBE_BIN_PATH%/baseapp.exe --cid=7002 --gus=8 --hide=1
start %KBE_BIN_PATH%/cellapp.exe --cid=8001 --gus=9 --hide=1
@rem start %KBE_BIN_PATH%/cellapp.exe --cid=8002 --gus=10 --hide=1
start %KBE_BIN_PATH%/loginapp.exe --cid=9000 --gus=11 --hide=1