summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2018-05-03 15:52:09 -0400
committerMathew Robinson <chasinglogic@gmail.com>2018-05-03 15:52:14 -0400
commit91db8033a2ddc65b682d16f46fc00cde7949e9fc (patch)
treedb0a57165c064ecc70b8810b6dd020c896590d53 /debian
parent91b4635f0987d03db4b88b632198ef9247d3b56d (diff)
downloadmongo-91db8033a2ddc65b682d16f46fc00cde7949e9fc.tar.gz
SERVER-33146 Source /etc/sysconfig/mongod in service file
Diffstat (limited to 'debian')
-rw-r--r--debian/mongod.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/mongod.service b/debian/mongod.service
index 27f42c9d27d..1ee0821d871 100644
--- a/debian/mongod.service
+++ b/debian/mongod.service
@@ -6,6 +6,7 @@ Documentation=https://docs.mongodb.org/manual
[Service]
User=mongodb
Group=mongodb
+EnvironmentFile=-/etc/default/mongod
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
PIDFile=/var/run/mongodb/mongod.pid
# file size