group {
[ statements ]
}
The group Statement
The group
statement collects a series of statements into a list.
The default processing sections of the server (authorize
,
accounting
, etc.) are also group
statements. Those sections are
given different name for management reasons, but they behave
internally exactly like a group
.
When a group
statement is processed, all of the statements inside of
the group
are executed in sequence. The group
statement is not
normally used, as the statements within it can just be placed inside of the
enclosing section. However, the group
statement is included in the
unlang
syntax for completeness.
The contents of a group
subsection can be any unlang
statement.
Examples:
group {
sql
ldap
file
if (updated) {
...
}
}