Make the spec files agree with the standard installation.
[freeradius.git] / redhat / radiusd-logrotate
1 # You can use this to rotate the /var/log/radwtmp, simply copy it to
2 # /etc/logrotate.d/radiusd
3
4 # if you use defail files, You can uncomment the next block and
5 # edit it accordling your /etc/raddb/naslist file. If you comment
6 # the /var/log/radwtmp block you'll need to include the
7 # postrotate/endscript parts to the *last* NAS-NAME/detail of this file
8
9 #/var/log/radius/radacct/NAS-NAME/detail {
10 #       monthly
11 #       rotate 4
12 #       create
13 #       compress
14 #}
15
16 /var/log/radius/checkrad.log {
17         monthly
18         rotate 4
19         create
20         compress
21 }
22
23 /var/log/radius/radius.log {
24         monthly
25         rotate 4
26         create
27         compress
28 }
29
30 /var/log/radius/radwatch.log {
31         monthly
32         rotate 4
33         create
34         compress
35 }
36
37 /var/log/radius/radwtmp {
38         monthly
39         rotate 4
40         create
41         compress
42         postrotate
43                 /etc/rc.d/init.d/radiusd reload
44         endscript
45 }