aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/pies.texi290
-rw-r--r--src/comp.c10
-rw-r--r--src/meta1parse.c4
3 files changed, 178 insertions, 126 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index 51eac43..13deec0 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -1,3 +1,2 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2@smallbook
3@c %**start of header 2@c %**start of header
@@ -253,5 +252,5 @@ this format, the program also understands configuration files in
253 252
254@smallexample 253@example
255pies --config-file @var{filename} 254pies --config-file @var{filename}
256@end smallexample 255@end example
257 256
@@ -288,3 +287,3 @@ in a single command line, e.g.:
288 287
289@smallexample 288@example
290@group 289@group
@@ -294,3 +293,3 @@ pies --config-file /etc/pies.conf \
294@end group 293@end group
295@end smallexample 294@end example
296 295
@@ -323,6 +322,7 @@ line option.
323* Component Statement:: 322* Component Statement::
324* Notification:: Mail Notification 323* Notification:: Mail Notification.
325* ACL:: Access Control Lists 324* ACL:: Access Control Lists.
326* inetd:: Using @command{inetd} Configuration Files 325* control:: The @samp{control} statement.
327* include-meta1:: Using @command{meta1} Configuration Files 326* inetd:: Using @command{inetd} Configuration Files.
327* include-meta1:: Using @command{meta1} Configuration Files.
328* Global Configuration:: 328* Global Configuration::
@@ -357,6 +357,6 @@ with @samp{#} or @samp{//} and continue to the end of the line:
357 357
358@smallexample 358@example
359# This is a comment 359# This is a comment
360// This too is a comment 360// This too is a comment
361@end smallexample 361@end example
362 362
@@ -386,3 +386,3 @@ with a semicolon (@samp{;}).
386 386
387@smallexample 387@example
388pidfile /var/run/pies.pid; 388pidfile /var/run/pies.pid;
@@ -390,3 +390,3 @@ source-info yes;
390debug 10; 390debug 10;
391@end smallexample 391@end example
392 392
@@ -444,3 +444,3 @@ physical lines, e.g.:
444 444
445@smallexample 445@example
446@group 446@group
@@ -449,3 +449,3 @@ physical lines, e.g.:
449@end group 449@end group
450@end smallexample 450@end example
451 451
@@ -459,3 +459,3 @@ example above:
459 459
460@smallexample 460@example
461@group 461@group
@@ -464,3 +464,3 @@ example above:
464@end group 464@end group
465@end smallexample 465@end example
466 466
@@ -477,3 +477,3 @@ together into a single string. For example:
477 477
478@smallexample 478@example
479@group 479@group
@@ -484,3 +484,3 @@ EOT
484@end group 484@end group
485@end smallexample 485@end example
486 486
@@ -497,3 +497,3 @@ here-documents in a natural fashion. For example:
497 497
498@smallexample 498@example
499@group 499@group
@@ -504,3 +504,3 @@ TEXT
504@end group 504@end group
505@end smallexample 505@end example
506 506
@@ -512,3 +512,3 @@ delimiter, as in:
512 512
513@smallexample 513@example
514help-text <<-EOT 514help-text <<-EOT
@@ -516,3 +516,3 @@ help-text <<-EOT
516EOT; 516EOT;
517@end smallexample 517@end example
518 518
@@ -524,5 +524,5 @@ whose value is a list of strings:
524 524
525@smallexample 525@example
526dependents (pmult, auth); 526dependents (pmult, auth);
527@end smallexample 527@end example
528 528
@@ -542,3 +542,3 @@ the example below:
542 542
543@smallexample 543@example
544@group 544@group
@@ -548,3 +548,3 @@ component multiplexor @{
548@end group 548@end group
549@end smallexample 549@end example
550 550
@@ -686,3 +686,3 @@ compatibility with the @sc{c} preprocessor.
686 686
687@smallexample 687@example
688component @var{tag} @{ 688component @var{tag} @{
@@ -690,3 +690,3 @@ component @var{tag} @{
690@} 690@}
691@end smallexample 691@end example
692 692
@@ -962,5 +962,5 @@ For example:
962 962
963@smallexample 963@example
964limits T10 R20 U16 P20 964limits T10 R20 U16 P20
965@end smallexample 965@end example
966 966
@@ -1007,5 +1007,5 @@ environment variables like @env{PATH}, e.g.:
1007 1007
1008@smallexample 1008@example
1009PATH+=:/sbin 1009PATH+=:/sbin
1010@end smallexample 1010@end example
1011 1011
@@ -1063,3 +1063,3 @@ to the log file. This behavior can be modified using
1063@deffn {Config: component} return-code 1063@deffn {Config: component} return-code
1064@smallexample 1064@example
1065return-code @var{codes} @{ 1065return-code @var{codes} @{
@@ -1067,3 +1067,3 @@ return-code @var{codes} @{
1067@} 1067@}
1068@end smallexample 1068@end example
1069@end deffn 1069@end deffn
@@ -1183,5 +1183,5 @@ the file. For example:
1183 1183
1184@smallexample 1184@example
1185stderr file /var/log/component/name.err; 1185stderr file /var/log/component/name.err;
1186@end smallexample 1186@end example
1187 1187
@@ -1197,5 +1197,5 @@ Example:
1197 1197
1198@smallexample 1198@example
1199stderr syslog err; 1199stderr syslog err;
1200@end smallexample 1200@end example
1201@end table 1201@end table
@@ -1257,6 +1257,6 @@ For example:
1257 1257
1258@smallexample 1258@example
1259socket 1259socket
1260 "unix:///var/run/socket;user=nobody;group=mail;mode=770"; 1260 "unix:///var/run/socket;user=nobody;group=mail;mode=770";
1261@end smallexample 1261@end example
1262 1262
@@ -1384,3 +1384,3 @@ TCP-based echo service:
1384 1384
1385@smallexample 1385@example
1386@group 1386@group
@@ -1392,3 +1392,3 @@ component echo @{
1392@end group 1392@end group
1393@end smallexample 1393@end example
1394 1394
@@ -1396,5 +1396,5 @@ component echo @{
1396 1396
1397@smallexample 1397@example
1398echo stream tcp nowait root internal 1398echo stream tcp nowait root internal
1399@end smallexample 1399@end example
1400 1400
@@ -1448,3 +1448,3 @@ e.g.:
1448 1448
1449@smallexample 1449@example
1450component tcpmux-master @{ 1450component tcpmux-master @{
@@ -1454,3 +1454,3 @@ component tcpmux-master @{
1454@} 1454@}
1455@end smallexample 1455@end example
1456 1456
@@ -1490,3 +1490,3 @@ The command line for handling this service.
1490 1490
1491@smallexample 1491@example
1492component scp-to @{ 1492component scp-to @{
@@ -1497,3 +1497,3 @@ component scp-to @{
1497@} 1497@}
1498@end smallexample 1498@end example
1499 1499
@@ -1565,3 +1565,3 @@ and ensures that a special program is invoked after closing each
1565 1565
1566@smallexample 1566@example
1567component ftp @{ 1567component ftp @{
@@ -1576,3 +1576,3 @@ component ftp @{
1576@} 1576@}
1577@end smallexample 1577@end example
1578 1578
@@ -1604,3 +1604,3 @@ statement, a reference to its detailed description is provided.
1604 1604
1605@smallexample 1605@example
1606component @var{tag} @{ 1606component @var{tag} @{
@@ -1746,3 +1746,3 @@ component @var{tag} @{
1746@} 1746@}
1747@end smallexample 1747@end example
1748 1748
@@ -1763,5 +1763,5 @@ latter is a comma-separated list of email addresses, e.g.:
1763 1763
1764@smallexample 1764@example
1765notify "root@@localhost,postmaster@@localhost"; 1765notify "root@@localhost,postmaster@@localhost";
1766@end smallexample 1766@end example
1767@end deffn 1767@end deffn
@@ -1778,5 +1778,5 @@ are referenced using the following construct:
1778 1778
1779@smallexample 1779@example
1780$@{@var{name}@} 1780$@{@var{name}@}
1781@end smallexample 1781@end example
1782 1782
@@ -1791,5 +1791,5 @@ Supposing that @samp{component} is @samp{ftpd} and @samp{retcode} is
1791 1791
1792@smallexample 1792@example
1793Subject: $@{component@} exited with code $@{retcode@} 1793Subject: $@{component@} exited with code $@{retcode@}