[SERVER-709] Be able to prevent startup via config Created: 06/Mar/10  Updated: 12/Jul/16  Resolved: 08/Mar/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.3.3
Fix Version/s: 1.3.4

Type: Improvement Priority: Minor - P4
Reporter: Roger Binns Assignee: Richard Kreuter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu


Participants:

 Description   

Currently if the mongodb package is installed then the server always runs. I would like to have the package installed (ie the software is ready) but not running. By convention the way this is done is by a file such as /etc/default/mongodb that would contain a line like:

ENABLE_MONGODB=no

The startup will then be prevented. To see an example of this being done on Ubuntu, install the memcached package and look at /etc/default/memcached



 Comments   
Comment by auto [ 09/Mar/10 ]

Author:

{'login': 'kreuter', 'name': 'Richard Kreuter', 'email': 'richard@10gen.com'}

Message: Make ENABLE_MONGODB's default default be yes on sysvinit systems. SERVER-709
http://github.com/mongodb/mongo/commit/6929e828e5010af2fd132a46e05c15f3f519dc49

Comment by Richard Kreuter (Inactive) [ 08/Mar/10 ]

Addressed in branch that will be 1.3.4; backported to v1.2 branch.

Comment by auto [ 08/Mar/10 ]

Author:

{'login': 'kreuter', 'name': 'Richard Kreuter', 'email': 'richard@10gen.com'}

Message: Backport of Debianoid packaging commit 09f3ed38, fixes SERVER-709.
http://github.com/mongodb/mongo/commit/b90ccb66528b0da2e1b18ce841359f31dcb3e7ee

Comment by Richard Kreuter (Inactive) [ 08/Mar/10 ]

Should be fixed as per the previous comment. Note that we want the default to be to run the server.

Comment by auto [ 08/Mar/10 ]

Author:

{'login': 'kreuter', 'name': 'Richard Kreuter', 'email': 'richard@10gen.com'}

Message: Support an ENABLE_MONGODB knob in /etc/default on Debianoids. SERVER-709
http://github.com/mongodb/mongo/commit/09f3ed3808adf50dde49338317d715b5a503830d

Generated at Thu Feb 08 02:54:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.