]>
Commit | Line | Data |
---|---|---|
6a3660d5 AM |
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 | |
9188b337 | 9 | create 660 root radius |
6a3660d5 AM |
10 | missingok |
11 | compress | |
12 | } | |
13 | ||
14 | /var/log/freeradius/checkrad.log { | |
15 | monthly | |
16 | rotate 4 | |
9188b337 | 17 | create 660 root radius |
6a3660d5 AM |
18 | missingok |
19 | compress | |
20 | } | |
21 | ||
22 | /var/log/freeradius/radius.log { | |
23 | monthly | |
24 | rotate 4 | |
9188b337 | 25 | create 660 root radius |
6a3660d5 AM |
26 | missingok |
27 | compress | |
28 | } | |
29 | ||
30 | /var/log/freeradius/radwatch.log { | |
31 | monthly | |
32 | rotate 4 | |
9188b337 | 33 | create 660 root radius |
6a3660d5 AM |
34 | missingok |
35 | compress | |
36 | } | |
37 | ||
9188b337 JK |
38 | |
39 | ||
40 | # Should this really be rotated | |
6a3660d5 AM |
41 | /var/log/freeradius/radutmp { |
42 | monthly | |
43 | rotate 4 | |
9188b337 | 44 | create 660 root radius |
6a3660d5 AM |
45 | compress |
46 | missingok | |
47 | } | |
48 | ||
49 | /var/log/freeradius/radwtmp { | |
50 | monthly | |
51 | rotate 4 | |
9188b337 | 52 | create 660 root radius |
6a3660d5 AM |
53 | compress |
54 | missingok | |
55 | postrotate | |
56 | /etc/rc.d/init.d/radiusd condrestart | |
57 | endscript | |
58 | } |