Ajout de divers scripts

This commit is contained in:
sys4-fr
2019-02-13 23:07:44 +01:00
parent 0b6b62daef
commit a906252c13
5 changed files with 59 additions and 27 deletions

View File

@ -1,9 +1,12 @@
#!/bin/bash
DEBUG=~/nalc-server/logs/debug.log
MOREDEBUG=~/nalc-server/logs/moredebug.log
serverpath=/home/minetest/nalc-server
world=$serverpath/minetest/worlds/nalc
cd ~/nalc-server/minetest/bin
DEBUG=$serverpath/logs/debug.log
MOREDEBUG=$serverpath/logs/moredebug.log
cd $serverpath/minetest/bin
while true
do
@ -16,8 +19,8 @@ while true
echo "0" >/tmp/players_c.txt
./minetestserver \
--world ../worlds/nalc/ \
--config ../minetest.conf \
--world $world/ \
--config $serverpath/minetest/minetest.conf \
--gameid nalc_game \
--port 30002 \
# --logfile $DEBUG