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:
@ -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
|
@ -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
|
Reference in New Issue
Block a user