Skip to content

Instantly share code, notes, and snippets.

View renebakx's full-sized avatar

René Bakx renebakx

View GitHub Profile
@renebakx
renebakx / mongo.sh
Created November 20, 2011 11:24
starting mongo on OSX
#!/bin/bash
#MongoDB startup script with status and proper lockfile removing
#Version 1.0.1 20-nov-2011 Rene Bakx ([email protected])
#Created on OS-X 10.7 but should work on other versions
if [ -z $1 ] ; then
echo "Usage: $0 [start|stop|restart|status] "
exit 1