Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ lib/ systemd/ system/ |
|
[Unit] Description=High-performance, schema-free document-oriented database After=network.target Documentation=https://docs.mongodb.org/manual [Service] UMask=0077 User=mongod Group=mongod Environment="OPTIONS=--quiet -f /usr/local/jetapps/etc/mongod.conf" ExecStart=/usr/local/jetapps/usr/bin/mongod $OPTIONS run ExecStartPre=/usr/local/jetapps/usr/bin/jetmongodready PermissionsStartOnly=true PIDFile=/usr/local/jetapps/var/run/mongod/mongod.pid RestartSec=15 Restart=always # 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