Re: Look and See script

2002-04-13 Thread Sickboy
David Stanaway wrote: I am wandering if there is a way (which I am sure there is) to automatically restart the mud after it crashes. Try the openvt package maybe.. Or daemontools ? (Beware, it's DJB :) .SiCk of IT. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Look and See script

2002-04-12 Thread Vinai Kopp
--On Donnerstag, April 11, 2002 18:53:19 -0500 Daniel J. Rychlik [EMAIL PROTECTED] wrote: it crashes. Is their a way to write a script that monitors the behavior of the pid or some other kind of process that it runs from to check for either yes its running or no its not? I use a small

Re: Look and See script

2002-04-12 Thread Chuck Peters
I did the following running from cron every 5 minutes. Note cron output was sent to /dev/null. It was a test box. #!/bin/sh # ZOPE query ZOPEQUERY=`ps auwx |grep z2.py | wc -l` if test $ZOPEQUERY -lt 2; then cd /usr/local/dc/Zope ./start echo `date`: No response

Re: Look and See script

2002-04-12 Thread brian moore
On Thu, Apr 11, 2002 at 06:53:19PM -0500, Daniel J. Rychlik wrote: I have a mud game that runs on a Debian's system running the 2.2 kernel. Occasionally the mud game crashes and stops accepting connections. I have to manually log in to restart the game. I am wandering if there is a way

Re: Look and See script

2002-04-12 Thread David Stanaway
On Fri, 2002-04-12 at 11:12, Chuck Peters wrote: I did the following running from cron every 5 minutes. Note cron output was sent to /dev/null. It was a test box. #!/bin/sh # ZOPE query ZOPEQUERY=`ps auwx |grep z2.py | wc -l` if test $ZOPEQUERY -lt 2; then cd

Look and See script

2002-04-11 Thread Daniel J. Rychlik
Title: Look and See script Hello, I have a mud game that runs on a Debians system running the 2.2 kernel. Occasionally the mud game crashes and stops accepting connections. I have to manually log in to restart the game. I am wandering if there is a way (which I am sure

Re: Look and See script

2002-04-11 Thread David Stanaway
On Thu, 2002-04-11 at 18:53, Daniel J. Rychlik wrote: I am wandering if there is a way (which I am sure there is) to automatically restart the mud after it crashes. Try the openvt package maybe.. -- David Stanaway signature.asc Description: This is a digitally signed message part