Created
July 1, 2013 10:04
-
-
Save codeb2cc/5899707 to your computer and use it in GitHub Desktop.
MongoDB systemctl unit file
This file contains hidden or 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=High-performance, schema-free document-oriented database | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
User=mongod | |
PIDFile=/var/run/mongod/mongod.pid | |
EnvironmentFile=/etc/sysconfig/mongod | |
ExecStart=/usr/bin/mongod -f /etc/mongod.conf run | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment