aboutsummaryrefslogtreecommitdiff
path: root/doc/pies.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pies.texi')
-rw-r--r--doc/pies.texi21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index 012ac88..1a798e1 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -176,7 +176,11 @@ foreground.
176 176
177 Upon startup, @command{pies} reads the list of components 177 Upon startup, @command{pies} reads the list of components
178from its configuration file, starts them, and remains in the 178from its configuration file, starts them, and remains in the
179background, controlling their execution. 179background, controlling their execution. Each component is
180defined by the name of the external program to be run and its
181arguments (command line). The program is normally run directly
182(via @code{exec}), but you can instruct @command{pies} to run
183it via @code{sh -c} as well.
180 184
181 The standard output and standard error streams of a component can be 185 The standard output and standard error streams of a component can be
182redirected to a file or to an arbitrary @command{syslog} channel. 186redirected to a file or to an arbitrary @command{syslog} channel.
@@ -870,6 +874,21 @@ their standard input to be open (e.g.@: @command{pppd nodetach}).
870Mark this component as @dfn{precious}. Precious components are never 874Mark this component as @dfn{precious}. Precious components are never
871disabled by @command{pies}, even if they respawn too fast. 875disabled by @command{pies}, even if they respawn too fast.
872 876
877@kwindex shell
878@item shell
879Run command as @code{/bin/sh -c "$command"}. Use this flag if command
880contains shell-specific features, such as I/O redirections, pipes,
881variables or the like. You can change the shell program using the
882@code{program} statement. For example, to use Korn shell:
883
884@example
885component X @{
886 flags shell;
887 program "/bin/ksh";
888 command "myprog $HOME";
889@}
890@end example
891
873@kwindex wait 892@kwindex wait
874@item wait 893@item wait
875This flag is valid only for @samp{inetd} components. It has the same 894This flag is valid only for @samp{inetd} components. It has the same

Return to:

Send suggestions and report system problems to the System administrator.