Skip to content

Commit

Permalink
SERVER-74845 Override processManagement.fork in mongod.service
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Egesdahl authored and Evergreen Agent committed Mar 23, 2023
1 parent 7a140d3 commit 26b4106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/mongod.service
Expand Up @@ -8,6 +8,7 @@ Wants=network-online.target
User=mongodb
Group=mongodb
EnvironmentFile=-/etc/default/mongod
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
RuntimeDirectory=mongodb
# file size
Expand Down
1 change: 1 addition & 0 deletions rpm/mongod.service
Expand Up @@ -8,6 +8,7 @@ Wants=network-online.target
User=mongod
Group=mongod
Environment="OPTIONS=-f /etc/mongod.conf"
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
EnvironmentFile=-/etc/sysconfig/mongod
ExecStart=/usr/bin/mongod $OPTIONS
# file size
Expand Down

0 comments on commit 26b4106

Please sign in to comment.