background wesnothd again..

This commit is contained in:
Gunter Labes 2008-09-01 12:27:13 +00:00
parent b053f464cc
commit f62e0366aa

View file

@ -59,7 +59,7 @@ do
REV=r$(echo "$BUILDDIR" | sed -re "s,.*wesnothd-svn-([0-9:SM]+)_$SERVER/$,\1,")
LOG="wesnothd.$DATE.$REV.log"
COMMAND="bin/wesnothd-$SERVER -c $SERVERBASE/wesnothd.cfg --port $PORT --threads $THREADS $PARAMETERS"
$COMMAND &> "$SERVERBASE/logs/$LOG"
$COMMAND &> "$SERVERBASE/logs/$LOG" &
PID=$!
echo "started $SERVER server with command: '$COMMAND' (revision: $REV, pid: $PID) at: $DATE"
# create some convenient links