[asterisk-users] What do you do to keep asterisk alive?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Nov 7 05:11:44 CST 2007


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:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list