@@ -33,7 +33,7 @@ There are three builds of MongoDB for Windows:
33
33
Windows Server 2008 R2, Windows 7 64-bit, or newer versions of
34
34
Windows. This build contains additional enhancements that are only
35
35
available on these platforms.
36
-
36
+
37
37
- MongoDB for Windows 64-bit runs on any 64-bit version of Windows
38
38
newer than Windows XP, including Windows Server 2008 R2 and Windows
39
39
7 64-bit.
@@ -189,16 +189,18 @@ insert a record in the ``test`` :term:`collection` of the default
189
189
Language Center <CSharp+Language+Center>` wiki page for more
190
190
information.
191
191
192
+ .. _tutorial-mongod-as-windows-service:
193
+
192
194
MongoDB as a Windows Service
193
195
----------------------------
194
196
195
- .. versionadded:: 2.0
197
+ .. versionadded:: 2.0
196
198
197
199
Setup MongoDB as a :guilabel:`Windows Service`, so that the database
198
200
will start automatically following each reboot cycle.
199
201
200
- .. note::
201
-
202
+ .. note::
203
+
202
204
:program:`mongod.exe` added support for running as a Windows
203
205
service in version 2.0, and :program:`mongos.exe` added support for
204
206
running as a Windows Service in version 2.1.1.
@@ -248,12 +250,12 @@ Run all of the following commands in :guilabel:`Command Shell` with
248
250
C:\mongodb\bin\mongod.exe --config C:\mongodb\mongod.cfg --install
249
251
250
252
Modify the path to the ``mongod.cfg`` file as needed. For the
251
- ``--install`` option to succeed, you *must* specify a
252
- :setting:`logpath` setting or the :option:`--logpath <mongod --logpath>`
253
+ ``--install`` option to succeed, you *must* specify a
254
+ :setting:`logpath` setting or the :option:`--logpath <mongod --logpath>`
253
255
run-time option.
254
256
255
257
.. TODO fix --install link once mongod.exe manual page exists.
256
-
258
+
257
259
#. To run the MongoDB Service:
258
260
259
261
.. code-block:: powershell
0 commit comments