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