[DOCS-12422] Update Homebrew instructions to include mention of data directory & service Created: 04/Feb/19  Updated: 30/Oct/23  Resolved: 20/Feb/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Stennie Steneker (Inactive) Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 5 years, 1 week, 3 days ago
Epic Link: DOCSP-1769

 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.)


Generated at Thu Feb 08 08:05:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.