[cod] Linux Startup scripts?
Nathan Peters
natedog550 at hotmail.com
Mon Dec 15 10:06:14 EST 2003
Correction on the 5 hours thing. 5 hours to figure out not write =)
Nathan - A.K.A [BASHYOU] SNiPeS
----- Original Message -----
From: Nathan Peters
To: cod at icculus.org
Sent: Monday, December 15, 2003 8:58 AM
Subject: Re: [cod] Linux Startup scripts?
Hey everyone. It took me 5 hours this weekend to write custom startup, restart, and shutdown scripts for the medal of honor linux server - because the server I'm hosted on doesn't have the screen command and I didn't want to have to install a ton of stuff to make it work. I'm also in the process of writing scripts to turn mods on and off very easily and also a script that emails me when the server goes down or a script that restarts the server, not sure yet. But, I'm pretty sure these scripts will work for CoD also. I copywrited or licensed them whatever you want to call it with the GNU license so they're free but I still get credit for writing them, so if you want to take a look at them let me know and I'll put them somewhere where you can download them, that way you get a copy of the license. Reason: It took me a long time to do this and I doubt anyone has scripts like these. They can be run from a cron also.
Peace out,
Nathan - A.K.A. [BASHYOU] SNiPeS
----- Original Message -----
From: David A. Fuess
To: cod at icculus.org
Sent: Monday, December 15, 2003 7:32 AM
Subject: RE: [cod] Linux Startup scripts?
I have mine in a forever loop with a 5 second delay. If it crashes, which is rare, it the quit command is issued then it pauses for 5 seconds and restarts the server. The script also manages the log files and other cleanup tasks.
At 10:13 AM 12/13/2003 -0800, you wrote:
Okay thanks for all the feedback.
Next question is I used to have to set a cron job or something to restart the server when it hangs or crashes.
Anyone using any daemon tools or supervisor tools on CoD that work.
--------------------------------------------------------------------------
From: Rene de Vries [mailto:rene.devries at home.nl]
Sent: Thursday, December 11, 2003 11:21 PM
To: cod at icculus.org
Subject: RE: [cod] Linux Startup scripts?
Hi,
create a file
ex: vi start
paste this "screen -A -m -d -S cod /cod_lnxded +map_rotate"
write and quit vi
chmod +777 start
execute: ./start
ctrl a+d to leave the screen
-----Oorspronkelijk bericht-----
Van: MikeyDee [mailto:mikeydee at usd.wli.net]
Verzonden: vrijdag 12 december 2003 0:43
Aan: cod at icculus.org
Onderwerp: [cod] Linux Startup scripts?
anyone have linux startup script ?
beside doing /cod_lnxded
I was trying to add +set commands to get it automated but seem to fail on me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20031215/68e084f7/attachment.htm>
More information about the Cod
mailing list