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 agangul...@gmail.com wrote: surely.That would be the best. -A On Thu, Jan 29, 2009 at 3:27 PM, Paras Fadte plf...@gmail.com wrote: Can APR be used ? On Thu,

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

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 agangul...@gmail.com 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

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 plf...@gmail.com wrote: Can APR be used ? On Thu, Jan 29, 2009 at 2:40 PM, Arnab Ganguly agangul...@gmail.com wrote: Apache restart means,child process are killed by the process.So you have to write a

Catching apache restart signal

2009-01-28 Thread Paras Fadte
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