lwb6-in-2025/build-tools/start-server.sh

10 lines
268 B
Bash
Raw Permalink Normal View History

2018-10-23 09:38:02 +02:00
#!/bin/sh
BASE="`dirname $0`"
cd "$BASE/server"
source server-config.sh
if [ "x$1" = "x--debug" ]; then
java $LOG -jar legacyworlds-server-main-*.jar
else
( java $LOG -jar legacyworlds-server-main-*.jar </dev/null >/dev/null 2>&1 & ) </dev/null >/dev/null 2>&1 &
fi