2013-10-16 20:25:42 +02:00
|
|
|
Index: freeradius-server-3.0.0/suse/radiusd-logrotate
|
2012-06-03 12:41:40 +02:00
|
|
|
===================================================================
|
2013-10-16 20:25:42 +02:00
|
|
|
--- freeradius-server-3.0.0.orig/suse/radiusd-logrotate 2013-10-15 18:26:37.704603079 +0200
|
|
|
|
+++ freeradius-server-3.0.0/suse/radiusd-logrotate 2013-10-15 18:27:37.232218844 +0200
|
2013-03-15 08:35:06 +01:00
|
|
|
@@ -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
|
2013-10-16 20:25:42 +02:00
|
|
|
@@ -25,11 +27,12 @@
|
2013-03-15 08:35:06 +01:00
|
|
|
missingok
|
|
|
|
create
|
|
|
|
postrotate
|
|
|
|
- kill -HUP `cat /var/run/radiusd/radiusd.pid`
|
|
|
|
+ kill -HUP `cat /var/run/radiusd/radiusd.pid` || :
|
2013-10-16 20:25:42 +02:00
|
|
|
endscript
|
2013-03-15 08:35:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/radius/radwatch.log {
|
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
2013-10-16 20:25:42 +02:00
|
|
|
@@ -41,6 +44,7 @@
|
2013-03-15 08:35:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/radius/radwtmp {
|
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
2013-10-16 20:25:42 +02:00
|
|
|
@@ -55,6 +59,7 @@
|
2013-03-15 08:35:06 +01:00
|
|
|
}
|
|
|
|
|
2013-10-16 20:25:42 +02:00
|
|
|
/var/log/radius/sqllog.sql {
|
2013-03-15 08:35:06 +01:00
|
|
|
+ su radiusd radiusd
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|