summaryrefslogtreecommitdiff
path: root/debian/mongodb.conf
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-02-05 17:21:56 -0500
committerRichard Kreuter <richard@10gen.com>2010-02-05 17:21:56 -0500
commitce1ab23ce7b255d8f48eeb312528c60ef510d352 (patch)
tree41e1bae42abdd8cb3dc1e7507594e893b2ba4df1 /debian/mongodb.conf
parent5c5fd566404046f25bdc55f9ddbf9571ba03304b (diff)
downloadmongo-ce1ab23ce7b255d8f48eeb312528c60ef510d352.tar.gz
Have the upstart init script use the config file. MINOR
Diffstat (limited to 'debian/mongodb.conf')
-rw-r--r--debian/mongodb.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/mongodb.conf b/debian/mongodb.conf
index d1bc5956372..f9a81013e36 100644
--- a/debian/mongodb.conf
+++ b/debian/mongodb.conf
@@ -1,5 +1,12 @@
# mongodb.conf
+# Where to store the data.
+
+# 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/mongo
+
#where to log
logpath=/var/log/mongod
@@ -7,7 +14,7 @@ logappend=true
#port = 27017
-dbpath=/var/lib/mongo
+
# Enables periodic logging of CPU utilization and I/O wait
#cpu = true