Merge branch 'master' of rpi2:src/ashd
[ashd.git] / doc / httimed.doc
... / ...
CommitLineData
1httimed(1)
2==========
3
4NAME
5----
6httimed - Ashd handler expiration pipe
7
8SYNOPSIS
9--------
10*httimed* [*-h*] [*-t* 'TIMEOUT'] 'CHILD' ['ARGS'...]
11
12DESCRIPTION
13-----------
14
15The *httimed* handler starts a single child handler which it passes
16all request it receives unmodified, and in addition keeps track of
17time and simply exits if no requests are received in a certain
18interval, which might be useful for handlers which are only rarely
19used and waste unproportionally much system resources if kept beyond
20their usefulness.
21
22*httimed* is a persistent handler, as defined in *ashd*(7), and the
23specified child handler must also be a persistent handler.
24
25By default, *httimed* exits if it receives no requests in five
26minutes, but the time interval can be specified using the *-t* option.
27
28If the child handler exits, *httimed* exits as well.
29
30OPTIONS
31-------
32
33*-h*::
34
35 Print a brief help message to standard output and exit.
36
37*-t* 'TIMEOUT'::
38
39 Exit if no requests are received after 'TIMEOUT' seconds since
40 the last one. If *-t* is not specified, 'TIMEOUT' is five
41 minutes by default.
42
43AUTHOR
44------
45Fredrik Tolf <fredrik@dolda2000.com>
46
47SEE ALSO
48--------
49*ashd*(7)