On Wed, Nov 07, 2007 at 11:33:02AM +0100, Per Jessen wrote:
> I've asterisk stop (presumably segfaulting) a couple of times, and I was
> just beginning to look at how to keep it running - what have others
> done? 
> 
> I was thinking of wrapping a script around asterisk like this:
> 
> while 1

-bash: 1: command not found

try "true" or ':' for the smily effect :-)

> do
>   asterisk -f
> done

And if Asterisk decides to die? If you have a wrong module in
/var/lib/asterisk/module ?

You're reimplementing safe_asterisk badly. And safe_asterisk is bad
enough as-is.

-- 
               Tzafrir Cohen       
icq#16849755              jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]       
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to