Last active
March 16, 2019 06:38
-
-
Save virtualdreams/0ce2c1518e91123618dd74f3980095a3 to your computer and use it in GitHub Desktop.
MongoDB systemd service file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=MongoDB Database Server | |
After=network.target | |
[Service] | |
User=mongodb | |
Group=mongodb | |
ExecStart=/usr/bin/mongod --config /etc/mongod.conf | |
PIDFile=/var/run/mongodb/mongod.pid | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment