]> git.pld-linux.org Git - packages/freeradius.git/blob - freeradius.logrotate
- adapterized
[packages/freeradius.git] / freeradius.logrotate
1 # You can use this to rotate the /var/log/freeradius/* files, simply copy
2 # it to /etc/logrotate.d/radiusd
3
4 # Last part should reload the server
5
6 /var/log/freeradius/radacct/*/detail {
7         monthly
8         rotate 4
9         create 660 root radius
10         missingok
11         compress
12 }
13
14 /var/log/freeradius/checkrad.log {
15         monthly
16         rotate 4
17         create 660 root radius
18         missingok
19         compress
20 }
21
22 /var/log/freeradius/radius.log {
23         monthly
24         rotate 4
25         create 660 root radius
26         missingok
27         compress
28 }
29
30 /var/log/freeradius/radwatch.log {
31         monthly
32         rotate 4
33         create 660 root radius
34         missingok
35         compress
36 }
37
38
39
40 # Should this really be rotated
41 /var/log/freeradius/radutmp {
42         monthly
43         rotate 4
44         create 660 root radius
45         compress
46         missingok
47 }
48
49 /var/log/freeradius/radwtmp {
50         monthly
51         rotate 4
52         create 660 root radius
53         compress
54         missingok
55         postrotate
56                 /etc/rc.d/init.d/radiusd condrestart
57         endscript
58 }
This page took 0.08563 seconds and 3 git commands to generate.