1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Updates scripts for creative server

This commit is contained in:
BUISSON-DEBON Quentin
2015-09-16 21:00:24 +02:00
parent 6f34a2c574
commit 56ba5a08f4
6 changed files with 50 additions and 49 deletions

View File

@ -0,0 +1,26 @@
#!/bin/bash
DEBUG='/home/quentinbd/script/debug-mff-creative.txt'
MOREDEBUG='/home/quentinbd/script/moredebug-mff-creative.txt'
cd /home/quentinbd/mff-creative
while true
do
sleep 5
echo "----------------------" >>$MOREDEBUG
echo "Server restarted at "`date` >>$MOREDEBUG
echo "----------------------" >>$MOREDEBUG
echo "0" >/tmp/players_c.txt
/home/quentinbd/mff-creative/bin/minetestserver \
--world /home/quentinbd/mff-creative/worlds/minetestforfun-creative/ \
--config /home/quentinbd/mff-creative/minetest.conf \
--gameid minetestforfun_creative \
--port 30091 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG

View File

@ -1,26 +0,0 @@
#!/bin/bash
DEBUG='/home/quentinbd/script/debug-mff-magichet.txt'
MOREDEBUG='/home/quentinbd/script/moredebug-mff-magichet.txt'
cd /home/quentinbd/mff-magichet
while true
do
sleep 5
echo "----------------------" >>$MOREDEBUG
echo "Server restarted at "`date` >>$MOREDEBUG
echo "----------------------" >>$MOREDEBUG
echo "0" >/tmp/players_c.txt
/home/quentinbd/mff-magichet/bin/minetestserver \
--world /home/quentinbd/mff-magichet/worlds/minetestforfun-magichet/ \
--config /home/quentinbd/mff-magichet/minetest.conf \
--gameid minetestforfun_magichet \
--port 30091 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG