If you go with:
copytruncate

Then you can avoid the apache reload or graceful all together.

The log file inode never changes, so it need no reload.

just fyi
-Jon


On Wed, Nov 13, 2013 at 11:08 AM, Kevin Fenzi <[email protected]> wrote:
> ok, lets try this thing:
>
> diff --git a/modules/httpd/files/httpd.logrotate
> b/modules/httpd/files/httpd.logrotate index 3a6e6cb..e55f078 100644
> --- a/modules/httpd/files/httpd.logrotate
> +++ b/modules/httpd/files/httpd.logrotate
> @@ -9,8 +9,9 @@
>      compressext .bz2
>      dateext
>      sharedscripts
> +    delaycompress
>      postrotate
> -        /sbin/service httpd reload > /dev/null 2>/dev/null || true
> +        /sbin/service httpd graceful > /dev/null 2>/dev/null || true
>      endscript
>  }
>
> kevin
>
>
> _______________________________________________
> infrastructure mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure



-- 

-Jon
_______________________________________________
infrastructure mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Reply via email to