View Full Version : linux stops when i exit ssh
greenfalcon
12-05-2003, 03:20 AM
Hi everyone, im a little new to linux, and when i try starting the server in linux, it works, but when i exit via ssh, it stops the server, how do i start the program as a process or a background application instead of running on the user that is currently on.
Thanks
Green
Resolution208
12-06-2003, 03:53 AM
Hi everyone, im a little new to linux, and when i try starting the server in linux, it works, but when i exit via ssh, it stops the server, how do i start the program as a process or a background application instead of running on the user that is currently on.
You will need a common linux utility called 'screen', which allows you to detatch your game console from your ssh/tty session.
check TTimo's QUICKSTART writeup in the RTCW for Linux Server documentation. It applies equally to CoD, and works well.
http://zerowing.idsoftware.com/linux/wolf/QUICKSTART
- R208.
greenfalcon
12-06-2003, 06:13 AM
Thank you for your reply, but i found a better way, all you have to do is make a .sh file that executes your server, when you exicute your server you would run it like this
./cod.sd.sh &
that way it knows that its going to run as a background process and your done, i will post more of what i mean if anyone else is having problems.
Green
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.