--On Sunday, September 05, 2004 11:29 AM -0700 James Bowling
<[EMAIL PROTECTED]> wrote:

Like right now, I
personally login to each client that I have on a server and run their
startup script that I created for them specifically.  I just want to know
if people are starting these at boot or what...

I'm not yet running a HL server and am lurking this list for when HL2 comes out. But I run several Tribes 2 servers, a UT2004 server, and a BF1942 server on one box. I use similar scripts to start these, run from /etc/rc.d/init.d on a Red Hat (soon to be Fedora) box. Each boot script spawns another script running as each server's user (each game server runs as a separate user) that launches the binary within screen. So for instance, "service bf1942 start" runs /etc/rc.d/init.d/bf1942 with the start option, and that launches /usr/local/bin/bf1942start as user bf1942. That script launches screen with a loop script that parses any options, creates a PID file, and launches the real game binary. The initscript when invoked with the stop option uses the PID file to kill the loop script.



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to