Sponsor-Board.de
7DTD Server startet nicht

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Hilfe (/forumdisplay.php?fid=102)
+---- Forum: Linux-Server (/forumdisplay.php?fid=105)
+---- Thema: 7DTD Server startet nicht (/showthread.php?tid=58102)


7DTD Server startet nicht - MrKrebs - 14.12.2015 00:28

Hallo zusammen

Ich habe ein kleines problem und zwar will ich einen 7dtd server starten...

Nur sagt er mir folgender satz:

Code:
sh-4.2$ ./startserver.sh start
No config file specified. Call this script like this:
  ./startserver.sh -configfile=conf.xml


Ich habe die config extra conf.xml genannt.

Code:
#!/bin/sh
cd "`dirname "$0"`"

PARAMS=$@

CONFIGFILE=
while test $# -gt 0
do
    if [ `echo $1 | cut -c 1-12` = "-configfile=" ]; then
        CONFIGFILE=`echo $1 | cut -c 13-`
    fi
    shift
done

if [ "$CONFIGFILE" = "" ]; then
    echo "No config file specified. Call this script like this:"
    echo "  ./startserver.sh -configfile=conf.xml"
    exit
else
    if [ -f "$CONFIGFILE" ]; then
        echo Using config file: $CONFIGFILE
    else
        echo "Specified config file $CONFIGFILE does not exist."
        exit
    fi
fi

export LD_LIBRARY_PATH=.
#export MALLOC_CHECK_=0

#if [ "$(uname -m)" == "x86_64" ]; then
#    ./7DaysToDieServer.x86_64 -logfile 7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
#else
    ./7DaysToDieServer.x86 -logfile 7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated $PARAMS
#fi


Das ist die start Datei.

Kann mir evt einer sagen was ich da falsch mache?


RE: 7DTD Server startet nicht - gamerzhost - 14.12.2015 01:24

einfach so
./startserver.sh -configfile=conf.xml