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@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
endscript/sbin/service httpd graceful > /dev/null 2>/dev/null || true
}
kevin
infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure