Skip to content

Instantly share code, notes, and snippets.

@martineg
Last active December 27, 2015 18:19
Show Gist options
  • Save martineg/7368997 to your computer and use it in GitHub Desktop.
Save martineg/7368997 to your computer and use it in GitHub Desktop.
default mongodb config
# /etc/mongod.conf
#
dbpath = /var/lib/mongo
logpath = /var/log/mongo/mongod.log
pidfilepath = /var/run/mongodb/mongod.pid
logappend = true
fork = true
{% if replset_name is defined %}
replSet = {{ replset_name }}
{% endif %}
# /etc/sysconfig/mongod
# empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment