21 lines
641 B
Desktop File
21 lines
641 B
Desktop File
[Unit]
|
|
Description=High-performance, schema-free document-oriented database
|
|
After=network.target
|
|
Documentation=https://docs.mongodb.org/manual
|
|
|
|
[Service]
|
|
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)
|
|
TasksAccounting=false
|
|
# Recommended limits for for mongod as specified in
|
|
# http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |