Nettoyage et ajout de fichiers modèles

This commit is contained in:
sys4-fr
2019-02-03 01:43:03 +01:00
parent 93071bd4a6
commit 121db7a0aa
227 changed files with 324 additions and 4002 deletions

26
start.sh.example Normal file
View File

@ -0,0 +1,26 @@
#!/bin/bash
DEBUG=~/nalc-server/logs/debug.log
MOREDEBUG=~/nalc-server/logs/moredebug.log
cd ~/nalc-server/minetest/bin
while true
do
sleep 5
echo "----------------------" >>$MOREDEBUG
echo "Server restarted at "`date` >>$MOREDEBUG
echo "----------------------" >>$MOREDEBUG
echo "0" >/tmp/players_c.txt
./minetestserver \
--world ../worlds/nalc/ \
--config ../minetest.conf \
--gameid nalc_game \
--port 30002 \
# --logfile $DEBUG
sleep 25
done &>> $MOREDEBUG