Okay. My issue here stems from the fact that I don't consider using more than 1024 ports a specialist use case deserving of a custom wrapper. Having fifty replications with default options already goes beyond this limit.
COUCHDB_OPTIONS could be used for command line flags with the change I proposed above, but ERL_MAX_PORTS is only set via the environment, which should be easily configured but is currently not. On Jun 16, 2010 5:39 PM, "Noah Slater" <nsla...@tumbolia.org> wrote: On 17 Jun 2010, at 01:07, Randall Leeds wrote: > On Wed, Jun 16, 2010 at 16:52, Noah Slater <nslat... -1 on that. The /etc/defaults/couchdb file is specifically for the init system. You can pass arbitrary flags to Erlang using the ERL_FLAGS environment variable. The script takes special care to make sure that Erlang shares its environment. If you have a specific set of flags you wish to call as standard, and you don't wish to use the init.d system, then I would advise that you create a wrapper script for your particular use case.