summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2015-04-09 16:01:34 -0400
committerSam Kleinman <samk@10gen.com>2015-04-22 15:15:34 -0400
commita459fcf9e758ebf6ef8c752d1972226121eda85d (patch)
tree4208dee25e5d85963206aa704abb397ed618ddd1 /debian
parent27fdd81021e50d352a3de9e85432ff44c6913220 (diff)
downloadmongo-a459fcf9e758ebf6ef8c752d1972226121eda85d.tar.gz
SERVER-14750: convert config files to yaml for packages
Diffstat (limited to 'debian')
-rw-r--r--debian/mongod.conf88
1 files changed, 27 insertions, 61 deletions
diff --git a/debian/mongod.conf b/debian/mongod.conf
index 3c343aa67d4..7559d3a4659 100644
--- a/debian/mongod.conf
+++ b/debian/mongod.conf
@@ -1,75 +1,41 @@
# mongod.conf
-# Where to store the data.
+# for documentation of all options, see:
+# http://docs.mongodb.org/manual/reference/configuration-options/
-# Note: if you run mongodb as a non-root user (recommended) you may
-# need to create and set permissions for this directory manually,
-# e.g., if the parent directory isn't mutable by the mongodb user.
-dbpath=/var/lib/mongodb
+# Where and how to store data.
+storage:
+ dbPath: /var/lib/mongodb
+ journal:
+ enabled: true
+# engine:
+# mmapv1:
+# wiredTiger:
-#where to log
-logpath=/var/log/mongodb/mongod.log
+# where to write logging data.
+systemLog:
+ destination: file
+ logAppend: true
+ path: /var/log/mongodb/mongod.log
-logappend=true
+# network interfaces
+net:
+ port: 27017
+ bindIp: 127.0.0.1
-#port = 27017
-# Listen to local interface only. Comment out to listen on all interfaces.
-bind_ip = 127.0.0.1
+#processManagement:
-# Disables write-ahead journaling
-# nojournal = true
+#security:
-# Enables periodic logging of CPU utilization and I/O wait
-#cpu = true
+#operationProfiling:
-# Turn on/off security. Off is currently the default
-#noauth = true
-#auth = true
+#replication:
-# Verbose logging output.
-#verbose = true
+#sharding:
-# Inspect all client data for validity on receipt (useful for
-# developing drivers)
-#objcheck = true
+## Enterprise-Only Options:
-# Enable db quota management
-#quota = true
+#auditLog:
-# Set oplogging level where n is
-# 0=off (default)
-# 1=W
-# 2=R
-# 3=both
-# 7=W+some reads
-#diaglog = 0
-
-# Ignore query hints
-#nohints = true
-
-# Enable the HTTP interface (Defaults to port 28017).
-#httpinterface = true
-
-# Turns off server-side scripting. This will result in greatly limited
-# functionality
-#noscripting = true
-
-# Turns off table scans. Any query that would do a table scan fails.
-#notablescan = true
-
-# Disable data file preallocation.
-#noprealloc = true
-
-# Specify .ns file size for new databases.
-# nssize = <size>
-
-# Replication Options
-
-# in replicated mongo databases, specify the replica set name here
-#replSet=setname
-# maximum size in megabytes for replication operation log
-#oplogSize=1024
-# path to a key file storing authentication info for connections
-# between replica set members
-#keyFile=/path/to/keyfile
+#snmp: