nbdkit-exitlast-filter(1)

πŸ’– nbdkit-exitlast-filter β€” the manual page, bestie edition πŸ’–

okay so this is nbdkit-exitlast-filter(1), from the NBDKIT manual section. it's a lil filter with main character energy and one job. let's get into it 🫢


✨ NAME ✨

nbdkit-exitlast-filter β€” exit on last client connection πŸ’…


✨ SYNOPSIS ✨

nbdkit --filter=exitlast PLUGIN

✨ DESCRIPTION ✨

so "nbdkit-exitlast-filter" is an nbdkit filter that makes nbdkit exit when there are no more client connections. that's it. that's the whole vibe. πŸ¦‹

⚠️ but bestie, listen: it does not exit before the first client connection. like, it needs at least one client to come thru first before it starts counting down. no clients, no exit. periodt.

one use for this is pairing it with a superserver, so you save resources when nbdkit isn't in use (go look at nbdkit-service(1) for that). another use is making sure nbdkit exits after the client has finished β€” but lowkey, also check nbdkit-captive(1) for other ways to do the same thing πŸ‘€

and if you wanna exit when an event happens instead, run don't walk to nbdkit-exitwhen-filter(1) 🌈


✨ PARAMETERS ✨

there are no parameters specific to nbdkit-exitlast-filter. like, zero. none. πŸ™ˆ

any parameters you do pass get passed through to and processed by the underlying plugin in the normal way. so they're not ignored, they're just not this filter's business πŸ’


✨ FILES ✨

  • $filterdir/nbdkit-exitlast-filter.so β€” the filter itself πŸŽ€

use "nbdkit --dump-config" to find the location of $filterdir. iykyk.


✨ VERSION ✨

"nbdkit-exitlast-filter" first appeared in nbdkit 1.20. so it's been iconic for a minute ⭐


✨ SEE ALSO ✨

the whole friend group, fr fr:

nbdkit(1), nbdkit-exitwhen-filter(1), nbdkit-ip-filter(1), nbdkit-limit-filter(1), nbdkit-rate-filter(1), nbdkit-time-limit-filter(1), nbdkit-captive(1), nbdkit-service(1), nbdkit-filter(3), nbdkit-plugin(3).


✨ AUTHORS ✨

Richard W.M. Jones πŸ‘‘


Copyright Red Hat


✨ LICENSE ✨

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Red Hat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


and that's the whole page!! πŸ’–βœ¨ this was nbdkit-1.48.1, dated 2026-08-29, straight from the nbdkit-exitlast-filter(1) manual. slay, stay hydrated, and may your last client connection exit gracefully πŸ§šπŸ’œ

πŸ“¦ where this page comes from