summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2016-02-05 16:16:36 -0500
committerSam Kleinman <samk@10gen.com>2016-02-09 14:55:27 -0500
commit6f01e1c7555e39e3618953c3fc0a5c5c216be09b (patch)
tree1a1ebdf713c864af1de51b9fa2f83f5fb6b773ff
parentfb46f0112723f46d31b04c84aeb8aa6a3b08aa1f (diff)
downloadmongo-6f01e1c7555e39e3618953c3fc0a5c5c216be09b.tar.gz
SERVER-7285 SERVER-18329: add service file for debian packages
-rw-r--r--debian/mongod.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/mongod.service b/debian/mongod.service
new file mode 100644
index 00000000000..4c9e6c72cdb
--- /dev/null
+++ b/debian/mongod.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=High-performance, schema-free document-oriented database
+After=network.target
+Documentation=https://docs.mongodb.org/manual
+
+[Service]
+User=mongod
+Group=mongod
+ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file