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.

-----Original Message-----
From: ScratchMonkey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 2:14 AM
To: [email protected]
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 I've got all 
the script arguments encapsulated in a helper script. Since srcds_run doesn't 
drop its own pid in a file, I'll do that in the helper script that invokes it 
to allow the initscript to kill the whole schmear from the top of the process 
hierarchy.

You can find the server by connecting to matureasskickers.net. (The "Add IP" 
client function fortunately does DNS lookups.)

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

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/2005


_______________________________________________
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