source: trunk/server/fedora/config/etc/logrotate.d/httpd @ 2005

Last change on this file since 2005 was 1800, checked in by adehnert, 13 years ago
Set permissions properly on Apache log files
File size: 466 bytes
Line 
1/var/log/httpd/*.log /home/logview/*log {
2    rotate 0
3    daily
4    missingok
5    notifempty
6    create 640 root logview
7    sharedscripts
8    postrotate
9        /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
10    endscript
11}
12
13/var/log/httpd/statistics_log {
14    rotate 14
15    daily
16    missingok
17    notifempty
18    sharedscripts
19    postrotate
20        /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
21    endscript
22}
Note: See TracBrowser for help on using the repository browser.