Add code to the copyover command to touch .copyover and add something like: if [ -r .copyover ]; then rm .copyover else bin/circle $FLAGS $PORT >> syslog 2>&1 fi -- Zeavon Calatin, MageMaster of the Realms Implementor of The Spear of Insanity MUD: kilnar.com 1066 Web: http://www.kilnar.com/spear/ > -----Original Message----- > From: Circle Discussion List > [mailto:CIRCLE@post.queensu.ca]On Behalf Of > Chris Jacobson > Sent: Thursday, March 04, 1999 1:06 PM > To: CIRCLE@post.queensu.ca > Subject: Copyover & autorun > > > I've noticed with the copyover snippet that Autorun will think the MUD > died and will keep trying to restart it. Even with the lines: > > echo "autorun starting game $DATE" >> syslog > echo "running bin/circle $FLAGS $PORT" >> syslog > > bin/circle $FLAGS $PORT >> syslog 2>&1 > > #This should catch it... > while ( /usr/sbin/fuser bin/circle ) do > sleep 60 > done > > > it still doesn't catch and keeps trying to execute the MUD, > causing log > files to get pushed out of date. > > Does anyone know of a way to deal with this? > > - Chris Jacobson > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST