1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-22 04:30:17 +02:00
server-nalc/other_things/scripts/Server-side/script/start-mff.sh
ObaniGemini e13fb99494 Remove other_things (moved to another repo)
This is a step to reorganization
2017-07-23 19:29:20 +02:00

28 lines
585 B
Bash
Executable File

#!/bin/bash
DEBUG='/home/vincent/mff/log/debug-mff.txt'
MOREDEBUG='/home/vincent/mff/log/moredebug-mff.txt'
cd /home/vincent/jeux/mff
while true
do
sleep 5
echo "----------------------" >>$MOREDEBUG
echo "Server restarted at "`date` >>$MOREDEBUG
echo "----------------------" >>$MOREDEBUG
echo "0" >/tmp/players_c.txt
/home/vincent/jeux/mff/bin/minetestserver \
--world /home/vincent/jeux/mff/worlds/minetestforfun/ \
--config /home/vincent/jeux/mff/minetest.conf \
--gameid minetestforfun_game \
--port 30002 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG