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.
Make sure to install MongoDB from here:
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
Work with mongodb configuration files
Handle replication/sharding (maybe)
Copyright and License
MongoDB Startup Scripts for OS X Copyright (C) 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/>.