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:
0
other_things/scripts/Server-side/script/news-mff-rsync.sh
Executable file → Normal file
0
other_things/scripts/Server-side/script/news-mff-rsync.sh
Executable file → Normal file
2
other_things/scripts/Server-side/script/start-mff-hg.sh
Executable file → Normal file
2
other_things/scripts/Server-side/script/start-mff-hg.sh
Executable file → Normal 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
|
||||
|
||||
|
@ -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
|
@ -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
0
other_things/scripts/Server-side/script/start-mff.sh
Executable file → Normal file
Reference in New Issue
Block a user