summaryrefslogtreecommitdiff
path: root/debian/mongod.service
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2016-10-18 14:13:14 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2016-10-18 14:53:06 -0400
commit806c7d65cc2c5f676ac3fa94a6c9f01689197fc4 (patch)
treec4df17b5476c71c275b8c7e0a605ee1f8336f364 /debian/mongod.service
parent55099a52c9fd70b4a830e5e6c352dab99a10f483 (diff)
downloadmongo-806c7d65cc2c5f676ac3fa94a6c9f01689197fc4.tar.gz
SERVER-26652 - reformat systemd service comments
Diffstat (limited to 'debian/mongod.service')
-rw-r--r--debian/mongod.service21
1 files changed, 14 insertions, 7 deletions
diff --git a/debian/mongod.service b/debian/mongod.service
index 7619884811a..696235ed6bb 100644
--- a/debian/mongod.service
+++ b/debian/mongod.service
@@ -7,15 +7,22 @@ Documentation=https://docs.mongodb.org/manual
User=mongodb
Group=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
-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
[Install]
-WantedBy=multi-user.target \ No newline at end of file
+WantedBy=multi-user.target