Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 63179 invoked from network); 29 Jan 2009 10:01:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2009 10:01:48 -0000 Received: (qmail 33213 invoked by uid 500); 29 Jan 2009 10:01:44 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 33160 invoked by uid 500); 29 Jan 2009 10:01:44 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 33151 invoked by uid 99); 29 Jan 2009 10:01:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 02:01:44 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aganguly01@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 10:01:38 +0000 Received: by wf-out-1314.google.com with SMTP id 24so7615461wfg.15 for ; Thu, 29 Jan 2009 02:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=7H77+eiZes/LPmc2VNbeAfOMn0B7D6re+C424OT+rEQ=; b=mnWmzIRn/NDfOMMit6Jcmf+LZzDwnDfsBOmmRvnnIU3+JTIupymIrVLkZUY5OjHFzx POIAuQuO4qqBUi02G7T5cTQ3GtR09JHikIgo7PdMkBzoPOz8jpZIXW1voVKqiMuq2b1u po5dqC71qPF7Y0awxVeb0CJ9BvbT5i1/Cs50U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=L6kH/Vwrt4m4/zlcN1BEGd9bg77KtFD4vSkVq+Qs0OKzmOs3MIwcn19GJDxt5Na2Do +gg3eds36UsWzARhbZGe7UvQKnXGSTsQyBxIQczdcINKMS/0+Sf3tjKBTA2PQSRwtnyq KYZLNnVue3ALONckk9lDSQ2MUnbPeyDiZvd6k= MIME-Version: 1.0 Received: by 10.142.125.9 with SMTP id x9mr1355905wfc.331.1233223278557; Thu, 29 Jan 2009 02:01:18 -0800 (PST) In-Reply-To: <75cf5800901290157s7ca850e7w3f6efac64d7db996@mail.gmail.com> References: <75cf5800901282343p4df8b3dexfdb2e5d55efe5a23@mail.gmail.com> <2ae67e000901290110y43462d91t1f2f9c9486d2f577@mail.gmail.com> <75cf5800901290157s7ca850e7w3f6efac64d7db996@mail.gmail.com> Date: Thu, 29 Jan 2009 15:31:18 +0530 Message-ID: <2ae67e000901290201k74e16462oed1f37e1917a93c8@mail.gmail.com> Subject: Re: Catching apache restart signal From: Arnab Ganguly To: dev@httpd.apache.org Content-Type: multipart/alternative; boundary=000e0cd228b87278c004619c2b93 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd228b87278c004619c2b93 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 > > > > > --000e0cd228b87278c004619c2b93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable surely.That would be the best.
-A

On T= hu, Jan 29, 2009 at 3:27 PM, Paras Fadte <plfgoa@gmail.com> wrote:
Can APR be used  ?

On Thu, Jan 29, 2009 at 2:40 PM, Arnab Ganguly <aganguly01@gmail.com> wrote:
> Apache restart means,child process are killed by the process.So you ha= ve to
> write a program perhaps apache module would be the best.Catch the requ= ired
> 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 <plfgoa@gmail.com> wrote:
>>
>> Hi,
>>
>> How can one catch a signal indicating apache restart in an externa= l
>> program specified in httpd.conf file  . Example would be rota= telogs
>> utility or some other utility to which logs are piped .
>>
>> Thank you .
>>
>> -Paras
>
>

--000e0cd228b87278c004619c2b93--