title: Set dbpath in MongoDB homebrew installed (Mac OS)
body: <p>Hello I installed Mongodb via Homebrew. 
  On Mac OS Yosemite.
  MongoDB shell version: 2.6.8</p>
  
  <p>What I want to achieve is to not have to every time put the <strong>--dbpath /path...</strong> everytime but just <strong>mongod</strong></p>
  
  <p>Now I have to write:</p>
  
  <pre><code>mongod --dbpath /usr/local/var/mongodb/
  </code></pre>
  
  <p>It works fine.</p>
  
  <p>My problem is that when I try to begin mongod with:</p>
  
  <pre><code>mongod --config /usr/local/etc/mongod.conf
  </code></pre>
  
  <p>It does nothing. Is that normal?</p>
  
  <p>My config file is:</p>
  
  <pre>
  systemLog:
    destination: file
    path: /usr/local/var/log/mongodb/mongo.log
    logAppend: true
  storage:
    dbPath: /usr/local/var/mongodb
  net:
    bindIp: 127.0.0.1
  </pre>
  
  <p>Is there a way to create a config file that mongo reads automatically so I can run <strong>mongod</strong> without extra parameters? </p>
  
  <p>Or a way to set the dbpath to /usr/local/var/mongodb by default?</p>