]> git.pld-linux.org Git - packages/freeradius-server.git/blame - freeradius-server.logrotate
- 2.1.4 - just fetch sources, NFY
[packages/freeradius-server.git] / freeradius-server.logrotate
CommitLineData
4e0fee8e 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/archive/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/archive/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/archive/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/archive/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/archive/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/archive/freeradius
56 monthly
57 rotate 4
58 create 660 root radius
59 compress
60 missingok
61 postrotate
62 /sbin/service radiusd condrestart
63 endscript
64}
This page took 0.105043 seconds and 4 git commands to generate.