Created attachment 153207 [details] couchdb.shar with patch this patch exposes the functionality already available in CouchDB itself, namely passing configuration and startup information to the erlang vm, by appending erlang flags in ERL_ZFLAGS. The ZFLAGS variant was chosen as most common usage is to override settings that couchdb already has by default -- for example, increasing number of async threads using +A 64, or enabling remsh access with `-name foo -setcookie nomnomnom`. see https://github.com/dch/freebsd-ports/commit/eae1221 and https://github.com/dch/freebsd-ports/commit/eae1221.patch
Auto-assigned to maintainer olgeni@FreeBSD.org
Created attachment 153373 [details] couch-pass-erl-flags.diff as diff not shar this time.
A commit references this bug: Author: olgeni Date: Tue Feb 24 14:56:23 UTC 2015 New revision: 379802 URL: https://svnweb.freebsd.org/changeset/ports/379802 Log: Allow passing ERL_ZFLAGS to CouchDB via couchdb_erl_flags in rc.conf. ERL_ZFLAGS is used to configure the Erlang VM itself (see also erl(1), "EMULATOR FLAGS") PR: 197847 Submitted by: Dave Cottlehuber Changes: head/databases/couchdb/Makefile head/databases/couchdb/files/couchdb.in
Committed - thanks!