summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2018-08-08 14:48:25 -0400
committerMathew Robinson <chasinglogic@gmail.com>2018-08-08 15:28:36 -0400
commita014dce43e6f55fd6611a865902e46b34953ad72 (patch)
tree6c886ffb01543d4ed21c9c796ab264b43fdf69dd
parent16f49c4cf96f0d1348e19945ac4f8e18c3348671 (diff)
downloadmongo-a014dce43e6f55fd6611a865902e46b34953ad72.tar.gz
SERVER-36043 Start mongod after multi-user.target
-rw-r--r--debian/mongod.service2
-rw-r--r--rpm/mongod.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/mongod.service b/debian/mongod.service
index 1ee0821d871..1ac6dfe26f4 100644
--- a/debian/mongod.service
+++ b/debian/mongod.service
@@ -1,6 +1,6 @@
[Unit]
Description=MongoDB Database Server
-After=network.target
+After=multi-user.target
Documentation=https://docs.mongodb.org/manual
[Service]
diff --git a/rpm/mongod.service b/rpm/mongod.service
index b772ee8baf8..9078c9cc382 100644
--- a/rpm/mongod.service
+++ b/rpm/mongod.service
@@ -1,6 +1,6 @@
[Unit]
Description=MongoDB Database Server
-After=network.target
+After=multi-user.target
Documentation=https://docs.mongodb.org/manual
[Service]