[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-general
Subject:    Re: [Bricolage-General] logrotate and bricolage
From:       David Wheeler <david () kineticode ! com>
Date:       2004-01-31 20:13:14
Message-ID: E68F33DE-5429-11D8-BE21-000A95972D84 () kineticode ! com
[Download RAW message or body]

On Jan 30, 2004, at 10:31 PM, Ben Hopkins wrote:

> I want to rotate the bricolage logs.  The apache logs are already being
> rotated, and the apache entry in /etc/logrotate.d says to do
> "/usr/bin/killall -HUP httpd" after the logs are rotated.
>
> I'm running bricolage on a non-standard port, so normal httpds cohabit
> with bric httpds on the same system.  And all the httpds are 'httpd', 
> so
> won't that killall send a HUP to the bric httpds?

Probably not. I would use the apachectl and bric_apachectl scripts, 
instead.

> Anyway, would it work to make a bricolage logrotate file, but make the
> postrotate command be "/usr/local/bricolage/bin/bric-apachectl 
> restart"?

Yes, that should work. But only one thing will tell for sure: 
Experiment!

Regards,

David



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic