Hello,
I'm not a experimented user.
I have create a TMW server on a Ubuntu 12.04 Desktop Server and I can connect in game with the TMW Client.
I'm launching the server with Putty with this command :
cd ~/tmw-ea/eathena-data/
./char-server& ./login-server& ./map-server&
But when I close Putty, the server goes offline.
Is there a way to start an application of something else to get my server always online ?
I think yes, but I don't know how.
Thanx you !
Server always online.
Re: Server always online.
Either run the commands under nohup, or use the following comand:
Note that there is a ./run-all script that start the servers together and then waits for them to die.
Code: Select all
shopt -u huponexit
Former programmer for the TMWA server.
Re: Server always online.
"screen" is a good thing for such stuff too.
Regards
Regards
Re: Server always online.
I have tried the 2 solutions, but the problem is still here.
I have tried to combine the 2 solutions, please tel me if the syntax is correct.
cd ~/tmw-ea/eathena-data/
shopt -u huponexit
nohup ./char-server& ./login-server& ./map-server&
Sometimes I have a message, like "Nohup.out <char-server>", but only <char-server>.
I have tried to combine the 2 solutions, please tel me if the syntax is correct.
cd ~/tmw-ea/eathena-data/
shopt -u huponexit
nohup ./char-server& ./login-server& ./map-server&
Sometimes I have a message, like "Nohup.out <char-server>", but only <char-server>.
Re: Server always online.
nohup would need to be applied to each of the 3 commands, not just the first
Former programmer for the TMWA server.