• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Please Help Me , Debian

mateos

New Member
Joined
Oct 18, 2009
Messages
16
Reaction score
0
Hello All !
I have one problem i dont know why my web and serv offline he play 10 hours in 20+- players online and dont know why killing ? I make this command to open serv
screen -S OTS
cd /home/ots/0.3.4
#!/bin/bash
ulimit -c unlimited
while true; do ./theforgottenserver; done
i make screen -ls and i see running mine ots in proces
There is a screen on:
29212.OTS (21.10.2009 22:59:55) (Detached)
and she ist not running i cant connect to my serv and website too ist killing... i must kill process and run....
I make script for auto restart and he dont running ots ;/ i dont know why ? so i must running serv in this command up
I Make restart in this script
restart.sh
echo Starting TheforgottenServer....
sleep 0
screen -A -m -d -S tfs ./restart-tfs
restart-tfs
#!/bin/bash
ulimit -c unlimited
while true;
do
echo "Restart : `date +%d-%m-%Y--%H:%M`" >> ./restart.log
./theforgottenserver >> ./logs/engine-log-`date +%d-%m-%Y--%H`.txt
sleep 10
done

if i running ./restart.sh only see in console
home/ots/# ./restart.sh
Starting TheforgottenServer....

I have tfs 0.3.4 , 4gb ram and 4x 2.40+ GHz - my map have 30 Kb i have evolution map...

who help me ? i cant make this :( Please and Thanks for help ;)
 
Last edited:
Back
Top