06-01-2008, 08:28 AM
fqdn Wrote:why don't you just do screen itself without a script to see what is going on?
1) cd to your install folder
2) screen -S nameofyourscreenthatyoumakeup (a new virtual terminal will open up, it won't look like anything but it is)
3) ./srcds_run blahblahblah and see if your server starts up correctly
4) stats couple times to see if it's running
5) status couple times to see if it's running
6) CTRL A + D to detach
screen -r nameofyourscreenthatyoumadeup (from above) to attach, CTRL A + D to detach
also if you do a "ps aux" it will list all the processes including a screen session
It seems to be working without me being still connected to SSH, Thanks!! i tried this before and nothing happened