2013-03-15 08:35:06 +01:00
|
|
|
Index: freeradius-server-2.1.12/suse/radiusd-logrotate
|
2012-06-03 12:41:40 +02:00
|
|
|
===================================================================
|
2013-03-15 08:35:06 +01:00
|
|
|
--- freeradius-server-2.1.12.orig/suse/radiusd-logrotate 2013-01-08 18:25:29.358157621 +0100
|
|
|
|
+++ freeradius-server-2.1.12/suse/radiusd-logrotate 2013-01-08 18:28:38.487684634 +0100
|
|
|
|
@@ -6,6 +6,7 @@
|
2012-06-03 12:41:40 +02:00
|
|
|
# second technique, you will need another cron job that removes old
|
|
|
|
# detail files. You do not need to comment out the below for method #2.
|
|
|
|
/var/log/radius/radacct/*/detail {
|
2013-03-15 08:35:06 +01:00
|
|
|
+ su radiusd radiusd
|
2012-06-03 12:41:40 +02:00
|
|
|
compress
|
|
|
|
dateext
|
2013-03-15 08:35:06 +01:00
|
|
|
maxage 365
|
|
|
|
@@ -16,6 +17,7 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/radius/radius.log {
|
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
@@ -25,10 +27,12 @@
|
|
|
|
missingok
|
|
|
|
create
|
|
|
|
postrotate
|
|
|
|
- kill -HUP `cat /var/run/radiusd/radiusd.pid`
|
|
|
|
+ kill -HUP `cat /var/run/radiusd/radiusd.pid` || :
|
|
|
|
+ endscript
|
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/radius/radwatch.log {
|
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
@@ -40,6 +44,7 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/radius/radwtmp {
|
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
@@ -54,6 +59,7 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/radius/sqltrace.sql {
|
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|