I am assuing you look in your and have distrution cd. >From the man page ftp.uni-erlangen.de/pub/utilities/screen
I check above and it does work. Enjoy BGP -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Harold Alcala' Sent: June 24, 2002 9:21 PM To: [EMAIL PROTECTED] Subject: Re: [hlds_linux] Starting hlds_l at system startup i dont have "screen" where can i get it? ----- Original Message ----- From: "Chuck Larson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 9:26 AM Subject: Re: [hlds_linux] Starting hlds_l at system startup > Instead of checking every minute with the cron you could just have > execute once at startup. > > syntax would be: > @reboot nice /games/half-life/run.sh > /dev/null 2>&1 > > Just a thought. > > > > Chuck Larson > mailto:[EMAIL PROTECTED] http://www.tombstone-gaming.com > --------- > Why Linux? Cuz he loves the game. > > > Quoting Derek Evan Mart <[EMAIL PROTECTED]>: > > > -- > > * Grant Popoff ([EMAIL PROTECTED]) [020623 20:56]: > > > I have know idea how to start my DoD server without log on or when > > I do > > > put it in rc.local have it not execute as root. > > > Could someone tell me how I can have the server not start as root > > > > Instead of starting half-life at system runtime, it might be better > > to > > use the hl user's crontab. I do this and it works well. You can > > work > > this into your existing system. Note, this was made before the new > > crash > > recovery mechanism was introduced. There may be a better way to do > > it > > now. I just don't have the time to find it. > > > > halflife@midgard:~$ crontab -e > > # Check every minute to see if server is running. If not, run it. > > */1 * * * * nice /games/half-life/run.sh > /dev/null 2>&1 > > > > halflife@midgard:~$ vi run.sh > > #!/bin/sh > > HOME="/games/half-life" > > cd $HOME > > ulimit -c 2000 > > screen -m -d -T xterm -S cs ${HOME}/cs.sh > > > > halflife@midgard:~$ vi cs.sh > > #!/bin/sh > > HOME="/games/half-life" > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME > > PIDFILE=${HOME}/cs.pid > > cd $HOME > > if [ ! -f $PIDFILE ]; then > > # No pid file found, start the server and create pid file > > ${HOME}/cs ${HOME}/hlds_run -game cstrike -port 27015 > > rm $PIDFILE > > else > > # pid file found, test pid to see if server is running. If > > # not, remove pid file (server starts next time script runs) > > kill -CHLD `cat $PIDFILE` >> /dev/null 2>&1 || rm $PIDFILE > > fi > > > > The command ``cs'' in ``${HOME}/cs ${HOME}/hlds_run -game cstrike'' > > is a > > simple C wrapper that produces a pid file. The source code is > > attached. > > > > halflife@midgard:~$ vi cstrike/autoexec.cfg > > log on > > fullserverinfo > > maxplayers 22 > > map de_dust > > > > -- > > Derek Evan Mart "Marticus" - Systems Programmer II > > U of L - Electrical & Computer Engineering > > The Marticus Project - http://www.marticus.org/ > > 1514 3659 D057 D10C 6BE6 3E68 15BE B181 2F1F 510B > > AA C4 72 14 97 6F 14 14 B3 9C BB 6E D8 71 9A 67 > > -- > > [ Content of type text/x-csrc deleted ] > > _______________________________________________ > > 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 _______________________________________________ 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

