Merge pull request #76 from open-craft/bdero/increase-fd-limit

Increase the file descriptor limit for the systemd service.
This commit is contained in:
Sergei Antipov 2017-03-07 16:43:20 +07:00 committed by GitHub
commit 1ba531c5c6
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ Documentation=man:mongod(1)
[Service]
User=mongodb
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
LimitNOFILE=65535
LimitNPROC=65535
[Install]
WantedBy=multi-user.target