Summary: | apache2 ebuild don't create a logrotate script in /etc/logrotate.d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jesus de Santos Garcia <jesus.de.santos> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jesus de Santos Garcia
2005-08-09 06:59:37 UTC
Huh? $ equery b /etc/logrotate.d/apache2 [ Searching for file(s) /etc/logrotate.d/apache2 in *... ] net-www/apache-2.0.54-r13 (/etc/logrotate.d/apache2) OK, -r8 does not install this one; I hope we'll really get rid of the two apache layouts ASAP. :/ If you want it, see below: /var/log/apache2/*log { missingok notifempty sharedscripts postrotate /etc/init.d/apache2 reload > /dev/null 2>&1 || true endscript } An alternative which uses "delaycompress" and apache's "graceful" HUP method # # Apache2 logrotate snippet for Gentoo Linux # contributed by Dan Thorson # /var/log/apache2/*_log { missingok weekly rotate 5 compress delaycompress sharedscripts postrotate apachectl graceful endscript } (In reply to comment #3) > apachectl graceful This won't work, we have apache2ctl for apache-2. Anyway, if you have suggestions wrt the logrotate script, please open a new bug, don't post to an invalid one. Closing. |