Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12422

Update Homebrew instructions to include mention of data directory & service

    XMLWordPrintableJSON

Details

    Description

      Description

      The MacOS install instructions for Homebrew omit some useful information:

      • Homebrew includes a default config file and service definition:

      To have launchd start mongodb now and restart at login:
      brew services start mongodb
      Or, if you don't want/need a background service you can just run:
      mongod --config /usr/local/etc/mongod.conf

      • There is no need to create /data/db/ if you start mongod using the service definition (recommended) or specify a config file path.
      • The default dbPath in the homebrew config is /usr/local/var/mongodb
      • The default log file in the homebrew config is /usr/local/var/log/mongodb/mongo.log

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 1 week, 3 days ago