Skip to content

bratta/mongodb-mac-startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MongoDB Startup Scripts for OS X

This is a very basic, single-instance startup script for running MongoDB on Mac OS X. It is intended to run the defaults and without any authentication, but remain easy to modify to suit your needs. Feel free to fork to add features.

Dependencies

Make sure to install MongoDB from here:

http://www.mongodb.org/display/DOCS/Downloads

Running

Using sudo or as root, copy the MongoDB directory and all its contents to /Library/StartupItems/ then start it like this:

sudo /Library/StartupItems/MongoDB/MongoDB start

TODO

  • Work with mongodb configuration files

  • Handle replication/sharding (maybe)

Copyright and License

MongoDB Startup Scripts for OS X Copyright © 2009 Tim Gourley.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

About

Basic startup script for MongoDB on Mac OS X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages