mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-22 13:07:39 +01:00
1663f45b4e
Add a systemd .service file. This is used in place of System V init scripts on most current Linux distributions. Closes #740 Signed-off-by: Benety Goh <benety@mongodb.com>
13 lines
281 B
Desktop File
13 lines
281 B
Desktop File
[Unit]
|
|
Description=High-performance, schema-free document-oriented database
|
|
|
|
[Service]
|
|
User=mongod
|
|
Group=mongod
|
|
Environment="OPTIONS=--quiet -f /etc/mongod.conf"
|
|
ExecStart=/usr/local/bin/mongod $OPTIONS run
|
|
PIDFile=/var/run/mongodb/mongod.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|