$filterdir/nbdkit-exitlast-filter.so
The filter.
Use "nbdkit --dump-config" to find the location of $filterdir.
Exit on last client connection
nbdkit --filter=exitlast
PLUGIN
"nbdkit-exitlast-filter" is an nbdkit filter that causes nbdkit to exit when there are no more client connections. Note that it doesn't exit before the first client connection.
One use for this is in combination with a superserver, to save resources when nbdkit is not in use (see nbdkit-service(1)). Another use is to ensure nbdkit exits after the client has finished (but see also nbdkit-captive(1) for other ways to do this).
To exit when an event occurs, try nbdkit-exitwhen-filter(1).
There are no parameters specific to nbdkit-exitlast-filter. Any parameters are passed through to and processed by the underlying plugin in the normal way.
$filterdir/nbdkit-exitlast-filter.so
The filter.
Use "nbdkit --dump-config" to find the location of $filterdir.
"nbdkit-exitlast-filter" first appeared in nbdkit 1.20.
3 releases since Debian 11 (Bullseye); the text changed 2 times.