Skip to content

Commit edd215f

Browse files
committed
SERVER-42603 Add After=network.target to service files
1 parent 429024e commit edd215f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

debian/mongod.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Unit]
22
Description=MongoDB Database Server
33
Documentation=https://docs.mongodb.org/manual
4+
After=network.target
45

56
[Service]
67
User=mongodb

rpm/mongod.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Unit]
22
Description=MongoDB Database Server
33
Documentation=https://docs.mongodb.org/manual
4+
After=network.target
45

56
[Service]
67
User=mongod

0 commit comments

Comments
 (0)