Prev: Next: , Up: Configuration[Contents][Index]


9.2 Syntax

Syntactically, pound configuration is a sequence of statements of two kinds: simple and compound.

A simple statement or directive consists of a keyword followed by a value, located on a single line. For example:

user "proxy"

There are some simple statements that don’t take any value and thus consist only of a keyword, e.g.

HTTPS

A compound statement or section encloses one or more other statements (both simple or compound). It begins with a keyword, optionally followed by a value, both located on a single line (similar to simple directives), followed by any number of subordinate statements, and ends with a keyword End on a line by itself. For example:

Control
    Socket "/run/pound.sock"
    Mode 660
    ChangeOwner true
End

Unless specified otherwise, directives may appear in any order.