Hi,
I'm running Redhat 5 and a dedicated quake2 server, which I can't telnet
to most of the time, so I added the lines:
cd /home/quake2
nohup ./quake2 +set dedicated 1 +set game ctf +exec server.cfg &
to my /etc/rc.d/rc.local, which starts up and runs the server just fine.
My main question is this: nohup should append to the file
/home/quake2/nohup.out all the output of the server, and when I come in
the next day there IS a nice juicy log file for me to browse through. But
when I'm sitting here at the computer and I notice the Q2 server is active
(it's cpu percentage jumps, a sure sign that people are on it), the
nohup.out file is empty! (it exists, with a time and date of the last
login, but size 0) When does this get updated, or is nohup putting the
output somewhere else? Any info would be great!
If you made it this far, here's a *: Any suggestions for a better
way to run the server, so I could take over the output/input when I AM at
the server? I think screen would do it, but I need a command line to run
screen and detach the server in one line so that I can put it in my
rc.local file and not have to do it manually..
Thanks!!
Vero Anderson