ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
..
2022-11-08 11:14:43 +00:00
2022-03-11 18:31:17 +00:00

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

Setting up a Riak cluster
=========================

See http://docs.basho.com/riak/latest/ops/building/configuration/ for
information on setting up a new Riak cluster.

File descriptor limits
======================

Riak requires a large number of open files to run reliably.  See 
http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/
for more information.

To raise the open file descriptor limit for riak, add the following to
the login.conf(5) file:

	riak:\
		:openfiles=8000:\
		:tc=daemon:

Rebuild the login.conf.db file if necessary:

	# [ -f /etc/login.conf.db ] && cap_mkdb /etc/login.conf