[asterisk-dev] daemonising after possible errors

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 5 05:09:44 MST 2006


Hi

Something that I find bothering when I try to debug Asterisk is that it
deamonizes before most errors can occour. It will fork into background
before many potential fatal errors occour. Such fatal errors are in the
module loading time.

Let's assume for the sake of discussion now that moving the 
daemonization time is simple.

What do you think about the following:

* Moving the daemonization to the end of the modules loading

* Making it optional to move it there. I recall that there was such an
  option with bind or squid, but I'm not sure.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+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-dev mailing list