Ok I'm going to explain a couple things here so that you don't have to
do the research to understand the bulk of whats been said.  When linux
starts up it fires through a given set up init scripts and runlevels.
The runlevels are for your protection so us them.  When starting up
inittab is rather your master controller of the other init script in the
"/etc/rc.d" directory.

As William pointed out the there's also a "/etc/rc.d/rc.local" file
which fires off after all of the other init scripts.  That would be the
easiest place to link hlds in the init process.  The "screen" command is
a way of threading background consoles.  It's handy if you're accessing
via ssh to start the app and be able to directly access the console.  I
however pipe the output to a secondary log file.

You should follow the other guidelines here:
http://server.counter-strike.net/server.php?cmd=howto&show=linux

From a good sysadmin point of view, always run secondary
services/daemons as a limited access/non-root user.

Hope that helps.

thanks,
-pat aka monkey13
hostage-down.net

William Warren wrote:

no need for a script per se.  that is one way.  Another is by
using screen.  I use this argument to launch my cs server inside
screen(including the quotation marks):

sudo -u hlds sh -c "cd /servers/hlds;screen -A -m -d -S hlds
./hlds_run -game cstrike -debug +port 27015 +maxplayers 11
-autoupdate +map cs_tiki -steamuser <my username> +ip
192.168.0.201 -steampass <my password>"

place this argument inside your /etc/rc/d/rc.l.ocal file.  It
will autostart at every boot as the user hlds(which must be created).



Ben H. wrote:

Thanks Pat but my head is spinning lol. :) i am very new to the linux
world
and havnt down scripting. Not to be a pain or anything but could i get a
little more detailed description of what i have to do, speficically
what the
cs script is that i need. I am running CS 1.6 on Fedora. Thank you
very much

ben H


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



_______________________________________________ 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