openbsd-ports/multimedia/minidlna/pkg
..
DESCR
minidlna.rc
PLIST
README

$OpenBSD: README,v 1.2 2019/04/29 08:25:23 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

minidlnad(8) provides realtime kqueue(2) monitoring up to the openfiles
descriptors limit in login.conf(5). When handling large directories, it should
be bumped accordingly. Optionally the kern.maxfiles sysctl(8) can also be
increased by adding an entry in sysctl.conf(5) to bump maximum number of file
descriptors on the system.

e.g. login.conf:
minidlna:\
	:openfiles=4096:\
	:tc=daemon:

Or else, to disable kqueue(2) monitoring, change the "inotify" value to "no" in
${SYSCONFDIR}/minidlna.conf.