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