server/process/run-turn

18 lines
275 B
Text
Raw Normal View History

#!/bin/sh
GAME=$1
TURN=$2
if [ ! -d $ERESSEA/game-$GAME ] ; then
echo "No such game: $GAME"
exit 1
fi
cd $ERESSEA/game-$GAME
echo "running turn $TURN, game $GAME"
2017-12-17 14:23:50 +01:00
$ERESSEA/server/bin/eressea -t $TURN run-turn.lua
mkdir -p log
ln -f eressea.log log/eressea.log.$TURN