Topic: [SOLVED]Run Teeworlds Server in Background (Terminal)
Hi,
I recently got myself a VPS running Debian 7 Wheezy. I successfully managed to run a XXLDDRace server from the terminal via SSH, but I have to keep the SSH session running all the time in order to keep the XXLDDRace server running.
So.
Is there anyway to have my Teeworlds server run in the background so that I don't have to keep the SSH session running all the time?
Hope this makes sense,
Oblique.
----------EDIT----------
Sorry, I just figured out how to do this. These commands are all exexuted in the terminal (Linux).
1) "cd" into teeworlds directory
2) Run the server, but type an "&" at the end of it (i.e. "./XXLDDRace-Server_64_d &").
3) As you the see the output, type CTRL-Z.
4) Type " bg" to put it in the background and hit "ENTER".
5) Now teeworlds should be running as a background process. You can type "ps" to see the information on the processes, such as the PID (Process Identification number).
6) To bring the program back into the foreground, type "fg [PID]".
7) To kill the process, type "kill [PID]". If this doesn't work, type "kill -KILL [PID]".