From 156ff6f6632bb66d03864b0aa04cbb078be4e7d6 Mon Sep 17 00:00:00 2001 From: Tekaoh <45337851+Tekaoh@users.noreply.github.com> Date: Sat, 7 Nov 2020 09:09:08 -0500 Subject: [PATCH 1/2] startServer.sh as alias of ant start --- build.xml | 2 +- exec.sh | 9 +++++++++ startServer.sh | 8 +------- 3 files changed, 11 insertions(+), 8 deletions(-) create mode 100755 exec.sh diff --git a/build.xml b/build.xml index b26b485..0833ac4 100755 --- a/build.xml +++ b/build.xml @@ -482,7 +482,7 @@ - + diff --git a/exec.sh b/exec.sh new file mode 100755 index 0000000..ea3a5bb --- /dev/null +++ b/exec.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +cd exe/linux + +./bin/LoginServer -- @servercommon.cfg & + +sleep 4 + +./bin/TaskManager -- @servercommon.cfg diff --git a/startServer.sh b/startServer.sh index ea3a5bb..cefcd14 100755 --- a/startServer.sh +++ b/startServer.sh @@ -1,9 +1,3 @@ #!/bin/bash -cd exe/linux - -./bin/LoginServer -- @servercommon.cfg & - -sleep 4 - -./bin/TaskManager -- @servercommon.cfg +ant start From dca2ba163e518b8864d4414fbc25201aa36f66ad Mon Sep 17 00:00:00 2001 From: Tekaoh <45337851+Tekaoh@users.noreply.github.com> Date: Mon, 9 Nov 2020 12:22:01 -0500 Subject: [PATCH 2/2] Better compatibility --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 0833ac4..3ae34f6 100755 --- a/build.xml +++ b/build.xml @@ -482,7 +482,7 @@ - +