]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
document path configuration. Fixes #5190
authorAlan T. DeKok <aland@freeradius.org>
Tue, 26 Sep 2023 12:50:09 +0000 (08:50 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 26 Sep 2023 12:51:09 +0000 (08:51 -0400)
raddb/mods-available/python

index 748852f6214f13fb164ba4fda4b62108f83324d5..f89fdeb426ffdb27ecc6a60c2726a40e163e84f3 100644 (file)
@@ -32,6 +32,27 @@ python {
        #
        module = example
 
+       #  path:: Where the modules are loaded from
+       #
+       #  Note that due to limitations on Python, this configuration
+       #  item is GLOBAL TO THE SERVER.  That is, you cannot have two
+       #  instances of the python module, each with a different path.
+       #
+#      path="${modconfdir}/${.:name}:/another_path/to/python_files"
+
+       #
+       #  path_include_default::  Should we use the default Python path
+       #  in addition to the above path.
+       #
+       #  If `yes`, then the above `path` is added to the default Python
+       #  path.
+       #
+       #  If `no`, then the above `path` is the only path which is searched.
+       #
+       #  The default value is `no`.
+       #
+#      path_include_default = yes
+
        #
        #  [NOTE]
        #  ====