use condrestart instead of reload, so radiusd is not started by
[freeradius.git] / redhat / radiusd-logrotate
1 # You can use this to rotate the /var/log/radius/* files, simply copy
2 # it to /etc/logrotate.d/radiusd
3
4 # Last part should reload the server
5
6 /var/log/radius/radacct/*/detail {
7         monthly
8         rotate 4
9         create
10         missingok
11         compress
12 }
13
14 /var/log/radius/checkrad.log {
15         monthly
16         rotate 4
17         create
18         missingok
19         compress
20 }
21
22 /var/log/radius/radius.log {
23         monthly
24         rotate 4
25         create
26         missingok
27         compress
28 }
29
30 /var/log/radius/radwatch.log {
31         monthly
32         rotate 4
33         create
34         missingok
35         compress
36 }
37
38 /var/log/radius/radutmp {
39         monthly
40         rotate 4
41         create
42         compress
43         missingok
44 }
45
46 /var/log/radius/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 }