[SERVER-1590] Add --serviceDisplayName and --serviceDescription options to mongod/mongos on windows. Created: 08/Aug/10  Updated: 12/Jul/16  Resolved: 24/Sep/10

Status: Closed
Project: Core Server
Component/s: Admin, Usability
Affects Version/s: 1.6.0
Fix Version/s: 1.7.1

Type: Improvement Priority: Major - P3
Reporter: Justin Dearing Assignee: Justin Dearing
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Participants:

 Description   

On windows there are three human readable descriptive strings associated with a service:

Name
Display Name
Description

--serviceName allows you to specify a non default value for name. this is the string used by "net start foo" and "net stop foo" There is no way to specify the Display Name or description with --install or --reinstall. Also if you wanted to have two instances of mongod, DisplayName must be unique.



 Comments   
Comment by auto [ 09/Nov/10 ]

Author:

{'login': 'zippy1981', 'name': 'Justin Dearing', 'email': 'jdearing@mongodb.org'}

Message: Better cleanup on nt service install.

All the values for --serviceFoo are removed, and the value of --logPath is quoted.

Became apparent while testing SERVER-1590.
/mongodb/mongo/commit/d7b885a44f4816874cdb69e6962f483147f9ed43

Comment by auto [ 24/Sep/10 ]

Author:

{'login': 'zippy1981', 'name': 'Justin Dearing', 'email': 'jdearing@mongodb.org'}

Message: Better cleanup on nt service install.

All the values for --serviceFoo are removed, and the value of --logPath is quoted.

Became apparent while testing SERVER-1590.
http://github.com/mongodb/mongo/commit/d0a3512190764f1d7bfdca741987e7a7fa0128bc

Comment by auto [ 24/Sep/10 ]

Author:

{'login': 'zippy1981', 'name': 'Justin Dearing', 'email': 'jdearing@mongodb.org'}

Message: SERVER-1590 Add --serviceDisplayName and --serviceDescription options to mongod/mongos on windows.

On windows its now possible to set the displayname and description of the mongo service from --install and --reinstall.
http://github.com/mongodb/mongo/commit/2735160f15fa448e79e317b1ba6bdba7b8109765

Comment by Justin Dearing [ 03/Sep/10 ]

Ok push away please.

http://github.com/zippy1981/mongo/commit/3d737de2449fb215c0a0ce996f46ed434f62f58e

Comment by Justin Dearing [ 03/Sep/10 ]

Minor issues don't push yet.

Comment by Justin Dearing [ 03/Sep/10 ]

http://github.com/zippy1981/mongo/commit/d1e5dc9b43602682570c75ad2a1fe303df83eb43

Fixed,

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