/ circle3.1 / autorun.README
autorun.README
 1  From: Peter Ajamian <peter@pajamian.dhs.org>
 2  
 3  This is something I did a few weeks ago but didn't get around to
 4  submitting it until now.  Basically There have always been a few things
 5  about the autorun script which have always irked me, this "improved"
 6  version is my attempt to correct those deficiencies as well as to add a
 7  little bit of extra functionality to the script.  The script addresses
 8  the following deficiencies:
 9  - syslog rotation:  When a new MUD is started an error is produced
10    during the syslog rotation after the first 6 times the MUD is run.  This
11    is because there is no check for the existance of the files being
12    rotated.
13  - autorun crashes append to log instead of rotating: If autorun crashes,
14    or is manually killed, or a server reboot is done without first shutting
15    down the MUD then the new syslog will continue to append to the old one
16    instead of rotating the syslogs and starting a fresh one.  This is
17    because the syslogs are currently rotated only _after_ the mud is
18    properly shut down.  To correct for this I have allowed for syslog
19    rotation before the MUD boots as well.  Also this script will detect
20    improper shutdown of autorun and make a note in the syslog before
21    rotating them.
22  - Better customization of grep-generated logs:  Various options have been
23    added to the autorun script to allow for easy customization of
24    grep-generated logs.  See the comments in the script for details.
25  
26  You may want to do some compatibility testing on varying platforms
27  because this uses various commands that were are not present in the
28  current autorun (cut, mktemp, and maybe others I can't think of now). 
29  This script also uses functions.