From: Arran Cudbard-Bell Date: Mon, 20 Jan 2020 17:34:09 +0000 (-0500) Subject: Convert templates.conf to a directory, include it within radiusd.conf again X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2f2d1b082;p=thirdparty%2Ffreeradius-server.git Convert templates.conf to a directory, include it within radiusd.conf again Not sure why the include was removed TBH --- diff --git a/raddb/radiusd.conf.in b/raddb/radiusd.conf.in index 05097eff478..34d98a370e5 100644 --- a/raddb/radiusd.conf.in +++ b/raddb/radiusd.conf.in @@ -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. # diff --git a/raddb/templates.conf b/raddb/template.d/default similarity index 100% rename from raddb/templates.conf rename to raddb/template.d/default