Re: Catching apache restart signal

2009-01-30 Thread Paras Fadte
which apr function will return me the appropriate signal that is given to httpd?


On Thu, Jan 29, 2009 at 3:31 PM, Arnab Ganguly  wrote:
> surely.That would be the best.
> -A
>
> On Thu, Jan 29, 2009 at 3:27 PM, Paras Fadte  wrote:
>>
>> Can APR be used  ?
>>
>> On Thu, Jan 29, 2009 at 2:40 PM, Arnab Ganguly 
>> wrote:
>> > Apache restart means,child process are killed by the process.So you have
>> > to
>> > write a program perhaps apache module would be the best.Catch the
>> > required
>> > signal and do the job.The module can be loaded from the httpd.conf.
>> >
>> > Writing a application putting it under usr/bin and putting the path in
>> > httpd.conf can also make you achieve this.
>> > Thanks
>> > -A
>> >
>> > On Thu, Jan 29, 2009 at 1:13 PM, Paras Fadte  wrote:
>> >>
>> >> Hi,
>> >>
>> >> How can one catch a signal indicating apache restart in an external
>> >> program specified in httpd.conf file  . Example would be rotatelogs
>> >> utility or some other utility to which logs are piped .
>> >>
>> >> Thank you .
>> >>
>> >> -Paras
>> >
>> >
>
>


Re: Catching apache restart signal

2009-01-29 Thread Arnab Ganguly
surely.That would be the best.
-A

On Thu, Jan 29, 2009 at 3:27 PM, Paras Fadte  wrote:

> Can APR be used  ?
>
> On Thu, Jan 29, 2009 at 2:40 PM, Arnab Ganguly 
> wrote:
> > Apache restart means,child process are killed by the process.So you have
> to
> > write a program perhaps apache module would be the best.Catch the
> required
> > signal and do the job.The module can be loaded from the httpd.conf.
> >
> > Writing a application putting it under usr/bin and putting the path in
> > httpd.conf can also make you achieve this.
> > Thanks
> > -A
> >
> > On Thu, Jan 29, 2009 at 1:13 PM, Paras Fadte  wrote:
> >>
> >> Hi,
> >>
> >> How can one catch a signal indicating apache restart in an external
> >> program specified in httpd.conf file  . Example would be rotatelogs
> >> utility or some other utility to which logs are piped .
> >>
> >> Thank you .
> >>
> >> -Paras
> >
> >
>


Re: Catching apache restart signal

2009-01-29 Thread Paras Fadte
Can APR be used  ?

On Thu, Jan 29, 2009 at 2:40 PM, Arnab Ganguly  wrote:
> Apache restart means,child process are killed by the process.So you have to
> write a program perhaps apache module would be the best.Catch the required
> signal and do the job.The module can be loaded from the httpd.conf.
>
> Writing a application putting it under usr/bin and putting the path in
> httpd.conf can also make you achieve this.
> Thanks
> -A
>
> On Thu, Jan 29, 2009 at 1:13 PM, Paras Fadte  wrote:
>>
>> Hi,
>>
>> How can one catch a signal indicating apache restart in an external
>> program specified in httpd.conf file  . Example would be rotatelogs
>> utility or some other utility to which logs are piped .
>>
>> Thank you .
>>
>> -Paras
>
>


Re: Catching apache restart signal

2009-01-29 Thread Arnab Ganguly
Apache restart means,child process are killed by the process.So you have to
write a program perhaps apache module would be the best.Catch the required
signal and do the job.The module can be loaded from the httpd.conf.

Writing a application putting it under usr/bin and putting the path in
httpd.conf can also make you achieve this.
Thanks
-A

On Thu, Jan 29, 2009 at 1:13 PM, Paras Fadte  wrote:

> Hi,
>
> How can one catch a signal indicating apache restart in an external
> program specified in httpd.conf file  . Example would be rotatelogs
> utility or some other utility to which logs are piped .
>
> Thank you .
>
> -Paras
>