1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-14 14:28:29 +01:00

rewrite and improve all start/update/upgrade scripts

This commit is contained in:
BUISSON-DEBON Quentin
2015-09-02 23:03:50 +02:00
parent ce8ea83036
commit d446131d93
13 changed files with 284 additions and 89 deletions

View File

@@ -0,0 +1,26 @@
#!/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 \
--gameid Skyblock \
--port 30052 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG