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