Re: [asterisk-dev] daemonising after possible errors

2006-12-08 Thread Tzafrir Cohen
On Fri, Dec 08, 2006 at 09:23:54AM -0800, Luigi Rizzo wrote: > On Fri, Dec 08, 2006 at 05:48:10PM +0100, Martin Vít wrote: > > Why not test confuguration before daemonizing? > > asterisk -vvvdddgcd > > if it starts and configs are ok, then stop and fork. Or you can tail -f > > /var/log/syslog (if

Re: [asterisk-dev] daemonising after possible errors

2006-12-08 Thread Luigi Rizzo
On Fri, Dec 08, 2006 at 05:48:10PM +0100, Martin Vít wrote: > Jared Smith wrote: > > On 12/7/06, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > >> > Something that I find bothering when I try to debug Asterisk is > >> that it > >> > deamonizes before most errors can occour. It will fork into backgroun

Re: [asterisk-dev] daemonising after possible errors

2006-12-08 Thread Martin Vít
Jared Smith wrote: On 12/7/06, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > 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

Re: [asterisk-dev] daemonising after possible errors

2006-12-08 Thread Jared Smith
On 12/7/06, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > 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.