ansible-role-mongodb/files/mongodb.service

13 lines
267 B
SYSTEMD

[Unit]
Description=An object/document-oriented database
Documentation=man:mongod(1)
[Service]
User=mongodb
ExecStart=/usr/bin/numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf
LimitNOFILE=65535
LimitNPROC=65535
[Install]
WantedBy=multi-user.target