Re: [hlds_linux] initscript

2005-02-25 Thread ScratchMonkey
--On Friday, February 25, 2005 10:22 AM +0100 kama <[EMAIL PROTECTED]> wrote: Just add 'echo $$ > srcds_run.pid' in srcds_run script.. it will then output the pid of the current shell. (I always run bash2) That works, but I wouldn't want to lose the edit if that file gets updated. I've already got

Re: [hlds_linux] initscript

2005-02-25 Thread kama
Just add 'echo $$ > srcds_run.pid' in srcds_run script.. it will then output the pid of the current shell. (I always run bash2) /Bjorn On Thu, 24 Feb 2005, ScratchMonkey wrote: > --On Wednesday, February 23, 2005 4:06 PM -0800 Chris Jones > <[EMAIL PROTECTED]> wrote: > > > I think he means the

Re: [hlds_linux] initscript

2005-02-24 Thread ScratchMonkey
--On Wednesday, February 23, 2005 6:25 PM -0500 Lumpy <[EMAIL PROTECTED]> wrote: http://www.counter-strike.de/content/server/hlds_start The only issue I've ever had with this script is it doesn't like overly long usernames. You can find a modified version at http://angrypanda.dyns.net:81/~panda/dow

Re: [hlds_linux] initscript

2005-02-24 Thread ScratchMonkey
--On Wednesday, February 23, 2005 4:06 PM -0800 Chris Jones <[EMAIL PROTECTED]> wrote: I think he means the pidfile of the srcds_run. -pidfile drops the pid for the srcds_i486.. if you kill this, the server just restarts. I suppose you could disable this, but you'd want to make sure it's wrapped

Re: [hlds_linux] initscript

2005-02-23 Thread Chris Jones
> I use the srcds_run -pidfile switch to drop the pid into a file. Using > the created pid file, I run cron's to set process priority and kill > when necessary. I think he means the pidfile of the srcds_run. -pidfile drops the pid for the srcds_i486.. if you kill this, the server just restarts.

RE: [hlds_linux] initscript

2005-02-23 Thread Owen T. Soroke
linux@list.valvesoftware.com Subject: [hlds_linux] initscript Does anyone have an initscript that'll work on Fedora? I can cook something up based on my initscripts for other games but I don't want to reinvent the wheel. My CSS server is running as user "steam" in a screen session, and

Re: [hlds_linux] initscript

2005-02-23 Thread Lumpy
http://www.counter-strike.de/content/server/hlds_start The only issue I've ever had with this script is it doesn't like overly long usernames. You can find a modified version at http://angrypanda.dyns.net:81/~panda/downloads/hlds_start with the username length fix, and probably more bugs than the o

Re: [hlds_linux] initscript

2005-02-23 Thread Cream
ScratchMonkey wrote: Does anyone have an initscript that'll work on Fedora? these scripts works for cs aswell as cs:s and tfc, just change a few lines where appropriate i suppose you could add a "sudo -u halflife /home/halflife/startup" line to /etc/rc.d/rc.local to have it automatically start afte

[hlds_linux] initscript

2005-02-23 Thread ScratchMonkey
Does anyone have an initscript that'll work on Fedora? I can cook something up based on my initscripts for other games but I don't want to reinvent the wheel. My CSS server is running as user "steam" in a screen session, and I've got all the script arguments encapsulated in a helper script. Since s