4ac8597733
Tweak rc.d(8) script: * no need for a bin var, we have daemon for that * set rc_reload and rc_usercheck to no * don't redirect to /dev/null * implement rc_check() using 'riak ping' with and ok jmatthew@ (maintainer) |
||
---|---|---|
.. | ||
DESCR | ||
PFRAG.shared | ||
PLIST | ||
README | ||
riak.rc |
$OpenBSD: README,v 1.2 2012/08/25 06:33:14 ajacoutot Exp $ +----------------------------------------------------------------------- | Running ${FULLPKGNAME} on OpenBSD +----------------------------------------------------------------------- Setting up a Riak cluster ========================= See http://wiki.basho.com/Adding-and-Removing-Nodes.html 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://wiki.basho.com/Open-Files-Limit.html and http://wiki.basho.com/LevelDB.html for more information. To raise the open file descriptor limit for riak, add the following to the login.conf(5) file: riak:\ :openfiles-cur=2048:\ :tc=daemon: Rebuild the login.conf.db file if necessary: # [ -f /etc/login.conf.db ] && cap_mkdb /etc/login.conf And assign the _riak user to the riak login class: # usermod -L riak _riak