Okay, after some experimentation, I came up with this: screen -dmS HalfLife ./hlds_run <blah blah blah>
Actually, instead of invoking hlds_run directly, I had the whole command line in a file already called starthl.sh. In that file I put the full command line for hlds_run (for me it's ./hlds_run -game ns +maxplayers 18 +map ns_eclipse -pingboost 2)... So what this does is start screen, detach the session and run hlds. Then if you want to access it you can just type 'screen -r' from the command line. I hope that answers your question. <quote who="Olivier Dony"> > On Tuesday, 29 July, 2003 15:04, AragonX wrote: >> Have you tried using screen? That's what I use. You simply: >> >> # screen >> # ./hlds_run ... >> # ctrl-D (detach screen) >> >> Then when you want to access it again you have to use >> >> screen -r > > Yes that's the only way I could get it to work. Thanks > for your help. But is there a way to start this kind > of setup at startup using system scripts? > >>From what I can do here, it seems I have to start a new > screen and then Ctrl-A-D manually, because if the screen > terminates the server doesn't work anymore. This is a bit > annoying, having to do it by hand. > > I dunno if that's a problem with the latest version of > hlds or something but I used to be able to run it simply > by redirecting the output, on FreeBSD (haven't tested with > latest version) > > Thanks again in advance :) > > Olivier > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list