1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02: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

View File

@ -18,7 +18,7 @@ while true
/home/quentinbd/mff-hg/bin/minetestserver \
--world /home/quentinbd/mff-hg/worlds/minetestforfun-hg/ \
--config /home/quentinbd/mff-hg/minetest.conf \
--gameid hungry_games \
--gameid Hungry Games \
--port 30042 \
# --logfile $DEBUG

View File

@ -0,0 +1,26 @@
#!/bin/bash
DEBUG='/home/quentinbd/script/debug-mff-magichet.txt'
MOREDEBUG='/home/quentinbd/script/moredebug-mff-megichet.txt'
cd /home/quentinbd/mff-hg
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 Magichet \
--port 30091 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG

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

0
other_things/scripts/Server-side/script/start-mff.sh Executable file → Normal file
View File