From: Alan T. DeKok Date: Thu, 5 Sep 2024 22:47:03 +0000 (-0400) Subject: use the correct name for the detail file X-Git-Tag: release_3_2_7~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f99e77471bdbb85337f36144f18e985f78d409c;p=thirdparty%2Ffreeradius-server.git use the correct name for the detail file --- diff --git a/debian/freeradius.logrotate b/debian/freeradius.logrotate index 28cbf15e5c8..70ef84e6a8a 100644 --- a/debian/freeradius.logrotate +++ b/debian/freeradius.logrotate @@ -39,9 +39,9 @@ # to write to a single detail file per IP and use the rotate config # below. Another is to write to a daily detail file per IP with: # -# detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail +# filename = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail # -# (or similar) in radiusd.conf, without rotation. If you go with the +# (or similar) in mods-enabled/detail, 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. # diff --git a/redhat/freeradius-logrotate b/redhat/freeradius-logrotate index 776780603ed..167df27233f 100644 --- a/redhat/freeradius-logrotate +++ b/redhat/freeradius-logrotate @@ -42,9 +42,9 @@ # to write to a single detail file per IP and use the rotate config # below. Another is to write to a daily detail file per IP with: # -# detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail +# filename = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail # -# (or similar) in radiusd.conf, without rotation. If you go with the +# (or similar) in mods-enabled/detail, 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. # diff --git a/scripts/logrotate/freeradius b/scripts/logrotate/freeradius index eecf63175a0..bc496d904d9 100644 --- a/scripts/logrotate/freeradius +++ b/scripts/logrotate/freeradius @@ -41,8 +41,10 @@ # There are different detail-rotating strategies you can use. One is # to write to a single detail file per IP and use the rotate config # below. Another is to write to a daily detail file per IP with: -# detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail -# (or similar) in radiusd.conf, without rotation. If you go with the +# +# filename = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail +# +# (or similar) in mods-enabled/detail, 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. /var/log/radius/radacct/*/detail { diff --git a/suse/radiusd-logrotate b/suse/radiusd-logrotate index 5ebfcf3295a..e8b1deaa91b 100644 --- a/suse/radiusd-logrotate +++ b/suse/radiusd-logrotate @@ -47,9 +47,9 @@ # to write to a single detail file per IP and use the rotate config # below. Another is to write to a daily detail file per IP with: # -# detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail +# filename = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail # -# (or similar) in radiusd.conf, without rotation. If you go with the +# (or similar) in mods-enabled/detail, 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. #