Skip to content

Commit ddb3e2d

Browse files
authored
Merge pull request #210 from smutel/StartAfterNetwork
MongoDB starts before the network on Debian system
2 parents 68e1860 + f8d7e83 commit ddb3e2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/mongodb.service.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[Unit]
33
Description=An object/document-oriented database
44
Documentation=man:mongod(1)
5+
After=network-online.target
56

67
[Service]
78
User={{ mongodb_user }}

0 commit comments

Comments
 (0)