1
0
freeradius-server/freeradius-server-2.1.1-logrotate_su.patch

15 lines
618 B
Diff

Index: freeradius-server-2.1.1/suse/radiusd-logrotate
===================================================================
--- freeradius-server-2.1.1.orig/suse/radiusd-logrotate 2008-09-25 10:41:26.000000000 +0200
+++ freeradius-server-2.1.1/suse/radiusd-logrotate 2012-05-28 14:04:33.755496027 +0200
@@ -5,6 +5,9 @@
# (or similar) in radiusd.conf, without rotation. If you go with the
# 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.
+
+su radiusd radiusd
+
/var/log/radius/radacct/*/detail {
compress
dateext