1nbdkit-exitlast-filter(1)           NBDKIT           nbdkit-exitlast-filter(1)
2
3
4

NAME

6       nbdkit-exitlast-filter - exit on last client connection
7

SYNOPSIS

9        nbdkit --filter=exitlast PLUGIN
10

DESCRIPTION

12       "nbdkit-exitlast-filter" is an nbdkit filter that causes nbdkit to exit
13       when there are no more client connections.  Note that it doesn't exit
14       before the first client connection.
15
16       One use for this is in combination with a superserver, to save
17       resources when nbdkit is not in use (see nbdkit-service(1)).  Another
18       use is to ensure nbdkit exits after the client has finished (but see
19       also nbdkit-captive(1) for other ways to do this).
20
21       To exit when an event occurs, try nbdkit-exitwhen-filter(1).
22

PARAMETERS

24       There are no parameters specific to nbdkit-exitlast-filter.  Any
25       parameters are passed through to and processed by the underlying plugin
26       in the normal way.
27

FILES

29       $filterdir/nbdkit-exitlast-filter.so
30           The filter.
31
32           Use "nbdkit --dump-config" to find the location of $filterdir.
33

VERSION

35       "nbdkit-exitlast-filter" first appeared in nbdkit 1.20.
36

SEE ALSO

38       nbdkit(1), nbdkit-exitwhen-filter(1), nbdkit-ip-filter(1),
39       nbdkit-limit-filter(1), nbdkit-rate-filter(1), nbdkit-captive(1),
40       nbdkit-service(1), nbdkit-filter(3), nbdkit-plugin(3).
41

AUTHORS

43       Richard W.M. Jones
44
46       Copyright Red Hat
47

LICENSE

49       Redistribution and use in source and binary forms, with or without
50       modification, are permitted provided that the following conditions are
51       met:
52
53       •   Redistributions of source code must retain the above copyright
54           notice, this list of conditions and the following disclaimer.
55
56       •   Redistributions in binary form must reproduce the above copyright
57           notice, this list of conditions and the following disclaimer in the
58           documentation and/or other materials provided with the
59           distribution.
60
61       •   Neither the name of Red Hat nor the names of its contributors may
62           be used to endorse or promote products derived from this software
63           without specific prior written permission.
64
65       THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
66       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
67       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
68       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
69       LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
70       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
71       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
72       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
73       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
74       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
75       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
76
77
78
79nbdkit-1.36.2                     2023-11-26         nbdkit-exitlast-filter(1)
Impressum