Skip to content
Snippets Groups Projects
Commit 6045d72a authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Add parametrised options to config for FR3

parent a8569a4f
No related branches found
No related tags found
No related merge requests found
...@@ -55,13 +55,13 @@ exec_prefix = /usr ...@@ -55,13 +55,13 @@ exec_prefix = /usr
sysconfdir = /etc sysconfdir = /etc
localstatedir = /var localstatedir = /var
sbindir = /usr/sbin sbindir = /usr/sbin
logdir = ${localstatedir}/log/radius logdir = <%= @fr_logpath %>
raddbdir = ${sysconfdir}/raddb raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct radacctdir = ${logdir}/radacct
# #
# name of the running server. See also the "-n" command-line option. # name of the running server. See also the "-n" command-line option.
name = radiusd name = <%= @fr_service %>
# Location of config and logfiles. # Location of config and logfiles.
confdir = ${raddbdir} confdir = ${raddbdir}
...@@ -207,7 +207,7 @@ cleanup_delay = 5 ...@@ -207,7 +207,7 @@ cleanup_delay = 5
# #
# Useful range of values: 256 to infinity # Useful range of values: 256 to infinity
# #
max_requests = 1024 max_requests = <%= @max_requests %>
# hostname_lookups: Log the names of clients or just their IP addresses # hostname_lookups: Log the names of clients or just their IP addresses
# e.g., www.freeradius.org (on) or 206.47.27.232 (off). # e.g., www.freeradius.org (on) or 206.47.27.232 (off).
...@@ -414,8 +414,8 @@ security { ...@@ -414,8 +414,8 @@ security {
# member. This can allow for some finer-grained access # member. This can allow for some finer-grained access
# controls. # controls.
# #
user = radiusd user = <%= @fr_user%>
group = radiusd group = <%= @fr_group%>
# Core dumps are a bad thing. This should only be set to # Core dumps are a bad thing. This should only be set to
# 'yes' if you're debugging a problem with the server. # 'yes' if you're debugging a problem with the server.
...@@ -555,7 +555,7 @@ thread pool { ...@@ -555,7 +555,7 @@ thread pool {
# #
# For more information, see 'max_request_time', above. # For more information, see 'max_request_time', above.
# #
max_servers = 32 max_servers = <%= @max_servers %>
# Server-pool size regulation. Rather than making you guess # Server-pool size regulation. Rather than making you guess
# how many servers you need, FreeRADIUS dynamically adapts to # how many servers you need, FreeRADIUS dynamically adapts to
...@@ -667,7 +667,7 @@ modules { ...@@ -667,7 +667,7 @@ modules {
# section, such as authorize, authenticate, accounting, # section, such as authorize, authenticate, accounting,
# pre/post-proxy, etc. # pre/post-proxy, etc.
# #
$INCLUDE mods-enabled/ $INCLUDE <%= @fr_moduledir %>
} }
# Instantiation # Instantiation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment