[MacPorts] #45803: mongodb @2.6.5_1: Run mongod instance with config file

MacPorts noreply at macports.org
Thu Nov 6 12:28:44 PST 2014


#45803: mongodb @2.6.5_1: Run mongod instance with config file
-------------------------+--------------------------------
 Reporter:  mark@…       |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.2
 Keywords:               |       Port:  mongodb
-------------------------+--------------------------------
 As indicated in the documentation, it is preferred to run the mongod
 instance via the config file, not command line parameters:
 http://docs.mongodb.org/manual/reference/program/mongod/#cmdoption--config

 I've attached a sample mongod.conf file that replicates the existing
 options - plus one SSL option now mongodb compiles with `--ssl` by
 default. I'm not sure how MacPorts handles default config files when
 installing or updating ports. I imagine that you would want to create
 `mongod.conf` if it doesn't exist, but name it `mongod-default.conf` if
 one does exist as to not overwrite user-defined parameters that might be
 needed for the instance to start.

-- 
Ticket URL: <https://trac.macports.org/ticket/45803>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list