Created
October 27, 2011 20:33
-
-
Save Randommood/1320782 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tm99-s00026 sm_mongodb # cat /etc/conf.d/mongodb/mongodb.conf | |
#!/bin/sh | |
# | |
# /etc/conf.d/mongodb | |
# | |
# Mongodb essentials | |
MONGODB_EXEC="/mongod" | |
MONGODB_DATA="/db/mongodb/active/data" | |
MONGODB_LOG="/var/log/mongodb/mongodb.log" | |
MONGODB_PID_FILE="/var/run/mongodb/mongodb.pid" | |
MONGODB_USER="mongodb" | |
MONGODB_IP="0.0.0.0" | |
MONGODB_PORT="27017" | |
# Set extra options here, such as disabling the admin web server | |
MONGODB_OPTIONS="--dbpath /db/mongodb --pidfilepath /var/run/mongodb/mongodb.pid --bind_ip 0.0.0.0 --logpath /var/log/mongodb/mongodb.log/mongodb.log --logappend --fork" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment