• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux [Debian] Global Save ( Debian 5.0 )

Rl Tibia Server

realtibiaserver.com
Joined
Nov 15, 2009
Messages
36
Reaction score
0
Hello,

I set already in config Global Save.


But, how to set ots restarter on debian?

couse Global Save doesn't has option that turn ots on.


Of, I'll rep if u will help me ;)
 
make restart.sh in same folder as TFS is.

put this in

echo Starting TheforgottenServer....
sleep 0
screen -A -m -d -S tfs ./restart-tfs

then make a restart-tfs (in same folder) and put this in
#!/bin/bash
while true;
do
echo "Restart : `date +%d-%m-%Y--%H:%M`" >> ./restart.log
./theforgottenserver >> ./data/logs/engine-log-`date +%d-%m-%Y--%H`.txt
sleep 10
done

if you want your restarter just do ./restart.sh wait few secs then click Y (accept that its running as root user) and you can exit putty :D

restarter found on google, i modified it a bit.
 
Back
Top