]> git.pld-linux.org Git - packages/freeradius.git/blob - freeradius.logrotate
- 1.1.1, NFY, patches need review (too much for me right now)
[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         olddir /var/log/archiv/freeradius/radacct
8         monthly
9         rotate 4
10         create 660 root radius
11         missingok
12         compress
13 }
14
15 /var/log/freeradius/checkrad.log {
16         olddir /var/log/archiv/freeradius
17         monthly
18         rotate 4
19         create 660 root radius
20         missingok
21         compress
22 }
23
24 /var/log/freeradius/radius.log {
25         olddir /var/log/archiv/freeradius
26         monthly
27         rotate 4
28         create 660 root radius
29         missingok
30         compress
31 }
32
33 /var/log/freeradius/radwatch.log {
34         olddir /var/log/archiv/freeradius
35         monthly
36         rotate 4
37         create 660 root radius
38         missingok
39         compress
40 }
41
42
43
44 # Should this really be rotated
45 /var/log/freeradius/radutmp {
46         olddir /var/log/archiv/freeradius
47         monthly
48         rotate 4
49         create 660 root radius
50         compress
51         missingok
52 }
53
54 /var/log/freeradius/radwtmp {
55         olddir /var/log/archiv/freeradius
56         monthly
57         rotate 4
58         create 660 root radius
59         compress
60         missingok
61         postrotate
62                 /etc/rc.d/init.d/radiusd condrestart
63         endscript
64 }
This page took 0.064071 seconds and 3 git commands to generate.