This is a multi-part message in MIME format. -- William, that's almost exactly what I ended up doing. rc.local calls 2 seperate scripts in their respective directories, so that way i can avoid editing the rc.local file directly.
thanks :) Rick Payton, IT Support Morikawa & Associates (808) 572-1745 http://www.mai-hawaii.com/ ________________________________ From: [EMAIL PROTECTED] on behalf of William Warren Sent: Sun 4/1/2007 3:12 PM To: [email protected] Subject: Re: [hlds_linux] hlds / srcds as a service? just use sudo and place it in /etc/rc.d/rc.local...here's what i use for 1.6. This can easily be modified for your environment: sudo -u hlds sh -c "cd /servers/hlds/; screen -A -m -d -S hlds ./hlds_run -game cstrike +ip 192.168.255.201 +port 27015 +maxplayers 14 -autoupdate +map cs_assault" Rick Payton wrote: > All I can seem to find from google is to run hlds / srcds via screen, > but that doesn't solve making it run on a reboot. > > If someone has links to instructions that I missed, that would be great. > > OS is Fedora Core 4, if that matters. I don't have physical access to > the box, but I do have root access (thankfully) via ssh. > > Also, is there a web management package I could use to start / stop / > restart hlds / srcds servers, so I don't have to give rcon to anyone (I > know, only affects restarts)? > > And finally, I have a pretty well fleshed out server.cfg (so in the > event anyone messes with the server, upon next map load everything > should go back to normal - in theory), but I read (somewhere???) that > the server.cfg only gets read once, at server startup - is this true, or > did I read old information? > > Thanks everyone. > > Rick Payton, I.T. Manager > Morikawa & Associates, LLC > (808) 572-1745 > http://www.mai-hawaii.com/ > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > -- My "Foundation" verse: Isa 54:17 No weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou shalt condemn. This is the heritage of the servants of the LORD, and their righteousness is of me, saith the LORD. -- carpe ductum -- "Grab the tape" CDTT (Certified Duct Tape Technician) Linux user #322099 Machines: 206822 256638 276825 http://counter.li.org/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux -- [ winmail.dat of type application/ms-tnef deleted ] -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

