Skip to content

Commit f8d7e83

Browse files
author
Samuel Mutel
committed
fix: MongoDB starts before the network on Debian system
1 parent 4531d91 commit f8d7e83

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)