Created
August 12, 2014 18:49
-
-
Save tfitch/e4844767f666468134cb to your computer and use it in GitHub Desktop.
mongodb sysconfig example
This file contains hidden or 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
# This config file is manually-generated by tfitch | |
# please modify manually if the IaaS setup changes | |
DAEMON="/apps/mongodb/bin/mongod" | |
NAME="mongod" | |
DAEMON_OPTS="" | |
DAEMON_OPTS="$DAEMON_OPTS --port 27017" | |
DAEMON_OPTS="$DAEMON_OPTS --dbpath /apps/data/mongodb" | |
DAEMON_OPTS="$DAEMON_OPTS --logpath /apps/log/mongodb/mongod.log" | |
# we're a replicaset | |
DAEMON_OPTS="$DAEMON_OPTS --replSet awc" | |
# enabling REST for mongoDB | |
DAEMON_OPTS="$DAEMON_OPTS --rest" | |
# keyfile for security | |
DAEMON_OPTS="$DAEMON_OPTS --keyFile /apps/mongodb/conf/awc-mongodb.key" | |
DAEMON_OPTS="$DAEMON_OPTS --fork" | |
DBPATH="/apps/data/mongodb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment