startServer.sh as alias of ant start

This commit is contained in:
Tekaoh
2020-11-07 09:09:08 -05:00
parent 3259a0c5f7
commit 156ff6f663
3 changed files with 11 additions and 8 deletions

View File

@@ -482,7 +482,7 @@
</target> </target>
<target name="start" description="starts the server" depends="create_symlinks,stop,webcfg"> <target name="start" description="starts the server" depends="create_symlinks,stop,webcfg">
<exec executable="startServer.sh" /> <exec executable="exec.sh" />
</target> </target>
<target name="stop" description="stops the login server"> <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 #!/bin/bash
cd exe/linux ant start
./bin/LoginServer -- @servercommon.cfg &
sleep 4
./bin/TaskManager -- @servercommon.cfg