summaryrefslogtreecommitdiffabout
path: root/doc
authorSergey Poznyakoff <gray@gnu.org.ua>2009-10-15 21:05:23 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2009-10-15 22:16:12 (GMT)
commita0631c9ac2c13c3ef1db027a490620504a287d3f (patch) (side-by-side diff)
tree5cc3c9d5b588974eee29d17c724dbdd8551dfdc8 /doc
parent9670b8cada0df307c6ffd9be1b14f5dfd51cc958 (diff)
downloadpies-a0631c9ac2c13c3ef1db027a490620504a287d3f.tar.gz
pies-a0631c9ac2c13c3ef1db027a490620504a287d3f.tar.bz2
Various improvements.
* configure.ac (AC_CHECK_FUNCS): Check for vsyslog. * src/diag.c (syslog_printer) [!HAVE_VSYSLOG]: call syslog. * src/pies.c (component_keywords): Remove settle-timeout, replace it with pass-fd-timeout. (main): Force syslog logging if !foreground. Do not close first three fds before restarting if log_to_stderr is set. * src/pies.h (DEFAULT_PASS_FD_TIMEOUT): New constant. (struct component): Replace settle_timeout with pass_fd_timeout. All uses changed. (pass_fd): Pass timeout as argument. * src/progman.c (prog_start): Remove hardcoded sleep before calling pass_fd. Update call to pass_fd. (prog_start_prerequisites): Remove handling of settle_timeout. * src/socket.c (open_unix_socket): Remove. (pass_fd): Rewrite. * doc/pies.texi: Update.
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/pies.texi15
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/pies.texi b/doc/pies.texi
index f1654c0..93a329e 100644
--- a/doc/pies.texi
+++ b/doc/pies.texi
@@ -753,11 +753,10 @@ component from starting normally.
As of version @value{VERSION} only one @command{remove-file} may be given.
@end deffn
-@deffn {Config: component} settle-timeout @var{number}
-Wait @var{number} of seconds. This is kind of kludge. Currently it is
-used for components imported from @file{meta1.conf} file
-(@pxref{include-meta1}), where @code{settle-timeout 1} is implied.
-This may change in future versions.
+@deffn {Config: component} pass-fd-timeout @var{number}
+Wait @var{number} of seconds for the @samp{pass-fd} socket
+to become available (@pxref{Meta1-Style Components}). Default is
+5 seconds.
@end deffn
@node Exit Actions
@@ -1073,9 +1072,9 @@ component @var{tag} @{
# @r{Remove @var{file-name} before starting the component.}
# @xref{Actions Before Startup, remove-file}.
remove-file @var{file-name};
- # @r{Time to wait before starting this component.}
- # @xref{Actions Before Startup, settle-timeout}.
- settle-timeout @var{number};
+ # @r{Wait @var{number} of seconds for pass-fd socket to become available.}
+ # @xref{Actions Before Startup, pass-fd-timeout}.
+ pass-fd-timeout @var{number};
# @r{Actions:}
# @xref{Exit Actions}.

Return to:

Send suggestions and report system problems to the System administrator.