realms_pools_add -> realm_pool_add
[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     endscript
30 }
31
32 /var/log/radius/radwatch.log {
33     compress
34     dateext
35     maxage 365
36     rotate 99
37     size=+1024k
38     notifempty
39     missingok
40     copytruncate
41 }
42
43 /var/log/radius/radwtmp {
44     compress
45     dateext
46     maxage 365
47     rotate 99
48     size=+2048k
49     notifempty
50     missingok
51     create
52 }
53
54 /var/log/radius/sqllog.sql {
55     compress
56     dateext
57     maxage 365
58     rotate 99
59     size=+2048k
60     notifempty
61     missingok
62     create
63 }