summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-08-13 10:24:00 -0400
committerRichard Kreuter <richard@10gen.com>2010-08-13 10:24:00 -0400
commit25cd9964a7de1ae4978a10d22226f725e16cdd8b (patch)
tree888f85a2913592e6259552f04f8e51071e0544df /debian
parentdf5b89004b24b60d698075588cdaedbe4ee27ee2 (diff)
downloadmongo-25cd9964a7de1ae4978a10d22226f725e16cdd8b.tar.gz
Add a limit stanza to upstart script.
Diffstat (limited to 'debian')
-rw-r--r--debian/mongodb.upstart2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/mongodb.upstart b/debian/mongodb.upstart
index ca6f9b75cf7..5bf00990670 100644
--- a/debian/mongodb.upstart
+++ b/debian/mongodb.upstart
@@ -1,5 +1,7 @@
# Ubuntu upstart file at /etc/init/mongodb.conf
+limit nofile 20000
+
pre-start script
mkdir -p /var/lib/mongodb/
mkdir -p /var/log/mongodb/