]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
update documentation
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 Nov 2020 19:37:26 +0000 (14:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Nov 2020 19:37:43 +0000 (14:37 -0500)
to make it excruciatingly clear what to do

raddb/mods-available/detail
raddb/sites-available/copy-acct-to-home-server

index e91e12d0b4de8f3cb084c179b321924d0248cfbb..ccf65f9c839a6d9ea35fae4d9cd208ddca1a0acd 100644 (file)
@@ -31,6 +31,15 @@ detail {
        #  be ONE "listen" section reading detail files from a
        #  particular directory.
        #
+       #  The configuration below puts the detail files into separate
+       #  directories for each client.  If you are reading the detail
+       #  files via the "listen" section, just use one directory.
+       #
+       #  e.g. filename = ${radacctdir}/reader1/detail-%Y%m%d
+       #
+       #  AND use a separate directory (reader2, reader3, etc.) for each
+       #  reader.
+       #
        filename = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
 
        #
index eb1c6bfc120414cc8b3906692fa5e7123fa3f53e..cd085e099a30f492984f539760561c8d34edff95 100644 (file)
@@ -69,6 +69,12 @@ server copy-acct-to-home-server {
                #  a common naming scheme for detail files, then you can
                #  have many detail file writers, and only one reader.
                #
+               #  Do NOT copy the "filename" configuration from the
+               #  "detail" module here.  It won't work.  Instead, use
+               #  file globbing (or wildcards), such as:
+               #
+               #       filename = ${radacctdir}/reader1/detail-*
+               #
                filename = ${radacctdir}/detail
 
                #