Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Create a service file for systemd: "/lib/systemd/system/mongod.service" with the content:
[Unit]
Description=High-performance, schema-free document-oriented database
After=network.target
[Service]
User=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
[Install]
WantedBy=multi-user.target
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question