1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-13 22:10:31 +01:00
server-nalc/other_things/scripts/Server-side/script/start-mff-skyblock.sh

27 lines
641 B
Bash
Raw Normal View History

#!/bin/bash
DEBUG='/home/quentinbd/script/debug-mff-skyblock.txt'
MOREDEBUG='/home/quentinbd/script/moredebug-mff-skyblock.txt'
cd /home/quentinbd/mff-skyblock
while true
do
sleep 5
echo "----------------------" >>$MOREDEBUG
echo "Server restarted at "`date` >>$MOREDEBUG
echo "----------------------" >>$MOREDEBUG
echo "0" >/tmp/players_c.txt
/home/quentinbd/mff-skyblock/bin/minetestserver \
--world /home/quentinbd/mff-skyblock/worlds/minetestforfun-skyblock/ \
--config /home/quentinbd/mff-skyblock/minetest.conf \
2015-09-02 23:37:41 +02:00
--gameid minetestforfun_skyblock \
--port 30054 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG