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 >