Merge pull request #12 from SWG-Source/Tekaoh/startup

startServer.sh as alias of ant start
This commit is contained in:
Cekis
2020-11-07 09:43:44 -08:00
committed by GitHub
3 changed files with 11 additions and 8 deletions

View File

@@ -482,7 +482,7 @@
</target>
<target name="start" description="starts the server" depends="create_symlinks,stop,webcfg">
<exec executable="startServer.sh" />
<exec executable="exec.sh" />
</target>
<target name="stop" description="stops the login server">

9
exec.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
cd exe/linux
./bin/LoginServer -- @servercommon.cfg &
sleep 4
./bin/TaskManager -- @servercommon.cfg

View File

@@ -1,9 +1,3 @@
#!/bin/bash
cd exe/linux
./bin/LoginServer -- @servercommon.cfg &
sleep 4
./bin/TaskManager -- @servercommon.cfg
ant start