Skip to content

Document how to install numerous Windows services #1950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/includes/options-mongod.exe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: install
directive: option
description: |
Installs {{program}} as a Windows Service and exits.

If needed, you can install services for multiple instances of
{{program}}. Install each service with a unique :option:`--serviceName`
and :option:`--serviceDisplayName`. Use multiple instances only when
sufficient system resources exist and your system design requires it.
optional: true
---
program: mongod.exe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ post: |

If the :setting:`dbpath` directory does not exist, :program:`mongod.exe`
will not start. The default value for :setting:`dbpath` is ``\data\db``.

If needed, you can install services for multiple instances of
:program:`mongod.exe` or :program:`mongos.exe`. Install each service
with a unique :option:`--serviceName <mongod.exe --serviceName>` and
:option:`--serviceDisplayName <mongod.exe --serviceDisplayName>`. Use
multiple instances only when sufficient system resources exist and your
system design requires it.
---
title: Stop or remove the MongoDB service as needed.
stepnum: 3
Expand Down