Cron <root at proxy05> /usr/local/bin/lock-wrapper fasClient "/bin/sleep $(($RANDOM % 100)); /usr/bin/fasClient -i | /usr/local/bin/nag-once fassync 1d 2>&1"

Jon jdisnard at gmail.com
Wed Nov 13 19:03:52 UTC 2013


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 <kevin at scrye.com> 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
> infrastructure at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure



-- 

-Jon


More information about the infrastructure mailing list