Skip to content

Instantly share code, notes, and snippets.

@nicksnell
Created September 2, 2014 22:00
Show Gist options
  • Select an option

  • Save nicksnell/62dcb80d6dcb716c7800 to your computer and use it in GitHub Desktop.

Select an option

Save nicksnell/62dcb80d6dcb716c7800 to your computer and use it in GitHub Desktop.
start script for mongo on webfaction
#!/bin/sh
PREFIX=$HOME/webapps/mongo_db
$PREFIX/mongodb-linux-x86_64-2.6.3/bin/mongod --auth --dbpath $PREFIX/data/ --port <some port> --fork --logpath=$HOME/logs/user/mongod.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment