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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/infrastructure



-- 

-Jon
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux