summaryrefslogtreecommitdiffabout
path: root/doc
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-21 17:58:28 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-01-21 17:58:28 (GMT)
commit891bb67de28c778827d4841b04d440caac8be18a (patch) (side-by-side diff)
treed0bea7989ba987122a2296ef4adffeb8a5178971 /doc
parentcb8b9461907373485acabb90bc1cad5263abc8b8 (diff)
downloadpies-891bb67de28c778827d4841b04d440caac8be18a.tar.gz
pies-891bb67de28c778827d4841b04d440caac8be18a.tar.bz2
New component flag: nullinput
* NEWS: Update. * doc/pies.texi: Document nullinput flag. * src/pies.c (str_to_cf): New flag: nullinput * src/pies.h (CF_NULLINPUT): New flag. * src/progman.c (prog_start): If CF_NULLINPUT flag is set, redirect /dev/null to the stdin
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/pies.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index 37ade1b..3bcb349 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -731,38 +731,55 @@ Define flags for this component. The @var{flag-list} is a
comma-separated list of flags. Valid flags are:
@table @asis
+@kwindex disable
@item disable
This component is disabled, i.e.@: @command{pies} will parse and
remember its settings, but will not start it.
+@kwindex nullinput
+@cindex stdin
+@cindex standard input
+@item nullinput
+Do not close standard input. Redirect it from @file{/dev/null}
+instead. Use this option with commands that require
+their standard input to be open (e.g.@: @command{pppd nodetach}).
+
+@kwindex precious
@item precious
Mark this component as @dfn{precious}. Precious components are never
disabled by @command{pies}, even if they respawn too fast.
+@kwindex wait
@item wait
This flag is valid only for @samp{inetd} components. It has the same
meaning as @samp{wait} in @file{inetd.conf} file, i.e. it tells
@command{pies} to wait for the server program to
return. @xref{inetd.conf, wait}.
+@kwindex tcpmux
@item tcpmux
This is a @acronym{TCPMUX} component. @xref{TCPMUX}.
+@kwindex tcpmuxplus
@item tcpmuxplus
This is a @acronym{TCPMUX+} component. @xref{TCPMUX}.
+@kwindex internal
@item internal
This is an internal inetd component. @xref{builtin}.
+@kwindex sockenv
@item sockenv
This inetd component wants socket description variables in its
environment. @xref{sockenv}.
+@kwindex resolve
@item resolve
When used with @samp{sockenv}, the @env{LOCALHOST} and
@env{REMOTEHOST} environment variables will contain resolved host
names, instead of IP addresses.
+@kwindex siggroup
@item siggroup
This flag affects the befavior of @command{pies} when a stopped
process fails to terminate within a predefined timeout

Return to:

Send suggestions and report system problems to the System administrator.