CFPEEK |
|
CFPEEK |
Sergey Poznyakoff |
The following configuration file will assist us in further discussion. Its syntax is fairly straightforward:
A simple statement is written as identifier followed value. The two parts are separated by any amount of whitespace. Simple statements are terminated by semicolon.
A compound statement is written as identifier followed by a list of subordinate statements in curly braces. A tag (if present) is put between the identifier and the opening curly brace.
These syntax conventions roughly correspond to the Grecs
configuration format, which cfpeek
assumes by default
(see grecs).
user smith; group mail; pidfile "/var/run/example"; logging { facility daemon; tag example; } program a { command "a.out"; logging { facility local0; tag a; } } program b { command "b.out"; wait yes; pidfile /var/run/b.pid; }
This document was generated on January 7, 2021 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.