ttls: return channel bindings on half round trip success
[freeradius.git] / suse / radiusd-logrotate
1 # There are different detail-rotating strategies you can use.  One is
2 # to write to a single detail file per IP and use the rotate config
3 # below.  Another is to write to a daily detail file per IP with:
4 #     detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
5 # (or similar) in radiusd.conf, without rotation.  If you go with the
6 # second technique, you will need another cron job that removes old
7 # detail files.  You do not need to comment out the below for method #2.
8 /var/log/radius/radacct/*/detail {
9     compress
10     dateext
11     maxage 365
12     rotate 99
13     size=+1024k
14     notifempty
15     missingok
16 }
17
18 /var/log/radius/radius.log {
19     compress
20     dateext
21     maxage 365
22     rotate 99
23     size=+1024k
24     notifempty
25     missingok
26     create
27     postrotate
28         kill -HUP `cat /var/run/radiusd/radiusd.pid`
29 }
30
31 /var/log/radius/radwatch.log {
32     compress
33     dateext
34     maxage 365
35     rotate 99
36     size=+1024k
37     notifempty
38     missingok
39     copytruncate
40 }
41
42 /var/log/radius/radwtmp {
43     compress
44     dateext
45     maxage 365
46     rotate 99
47     size=+2048k
48     notifempty
49     missingok
50     create
51 }
52
53 /var/log/radius/sqltrace.sql {
54     compress
55     dateext
56     maxage 365
57     rotate 99
58     size=+2048k
59     notifempty
60     missingok
61     create
62 }