Document python_path and gotchas. Addresses #1845
authorAlan T. DeKok <aland@freeradius.org>
Mon, 27 Feb 2017 18:31:31 +0000 (13:31 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 Feb 2017 18:31:31 +0000 (13:31 -0500)
raddb/mods-available/python

index dcaaef2..0bf2eaf 100644 (file)
@@ -7,6 +7,14 @@
 # a function defined, it will return NOOP.
 #
 python {
+       #  Path to the python modules
+       #
+       #  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.
+       #
+#        python_path="/path/to/python/files:/another_path/to/python_files/"
+
        module = example
 
        mod_instantiate = ${.module}