summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorBrian Samek <brian.samek@mongodb.com>2016-11-16 10:12:32 -0500
committerBrian Samek <brian.samek@mongodb.com>2016-11-16 10:29:11 -0500
commite7fa7097b7f9057ce8333bdf21247be3f12604cc (patch)
tree99fb079067a3f61d7da26ebe0204d4d8e7c19a1f /rpm
parentc361d2b09242c150bd84576816d5337352fcbf55 (diff)
downloadmongo-e7fa7097b7f9057ce8333bdf21247be3f12604cc.tar.gz
SERVER-27061 Fix RPM systemd comment syntax
Diffstat (limited to 'rpm')
-rw-r--r--rpm/mongod.service18
1 files changed, 12 insertions, 6 deletions
diff --git a/rpm/mongod.service b/rpm/mongod.service
index 24253f088c8..cd030da6ad8 100644
--- a/rpm/mongod.service
+++ b/rpm/mongod.service
@@ -9,12 +9,18 @@ Group=mongod
Environment="OPTIONS=--quiet -f /etc/mongod.conf"
ExecStart=/usr/bin/mongod $OPTIONS run
PIDFile=/var/run/mongodb/mongod.pid
-LimitFSIZE=infinity # file size
-LimitCPU=infinity # cpu time
-LimitAS=infinity # virtual memory size
-LimitNOFILE=64000 # open files
-LimitNPROC=64000 # processes/threads
-TasksMax=infinity # total threads (user+kernel)
+# file size
+LimitFSIZE=infinity
+# cpu time
+LimitCPU=infinity
+# virtual memory size
+LimitAS=infinity
+# open files
+LimitNOFILE=64000
+# processes/threads
+LimitNPROC=64000
+# total threads (user+kernel)
+TasksMax=infinity
TasksAccounting=false
# Recommended limits for for mongod as specified in
# http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings