]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Convert templates.conf to a directory, include it within radiusd.conf again
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 20 Jan 2020 17:34:09 +0000 (12:34 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 20 Jan 2020 17:34:45 +0000 (12:34 -0500)
Not sure why the include was removed TBH

raddb/radiusd.conf.in
raddb/template.d/default [moved from raddb/templates.conf with 100% similarity]

index 05097eff47816b614ddde9933dd70b15815d3e40..34d98a370e5ef4672cf7f1a6797222bf24a9f5b3 100644 (file)
@@ -358,6 +358,24 @@ ENV {
 #      LD_PRELOAD = /path/to/library2.so
 }
 
+#
+#  .Templates
+#
+#  Template files hold common definitions that can be used in other
+#  server sections.  When a template is referenced, the configuration
+#  items within the referenced template are copied to the referencing
+#  section.
+#
+#  Using templates reduces repetition of common configuration items,
+#  which in turn makes the server configuration easier to maintain.
+#
+#  See template.d/default for examples of using templates, and the
+#  referencing syntax.
+#
+templates {
+       $INCLUDE template.d/
+}
+
 #
 #  .Security Configuration
 #
@@ -399,7 +417,7 @@ security {
 
        #
        #  user::
-       #  group:: 
+       #  group::
        #
        #  The name (or `#number`) of the `user`/`group` to run `radiusd` as.
        #