Skip to content

Commit c1bb337

Browse files
committed
DOCS-4586 fix configuration file path
1 parent 38bc43b commit c1bb337

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

source/administration/configuration.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ While both interfaces provide access to the same collection of options
1717
and settings, this document primarily uses the configuration file
1818
interface. If you run MongoDB using a control script or installed from
1919
a package for your operating system, you likely already have a
20-
configuration file located at ``/etc/mongodb.conf``. Confirm this by
20+
configuration file located at ``/etc/mongod.conf``. Confirm this by
2121
checking the contents of the ``/etc/init.d/mongod`` or
2222
``/etc/rc.d/mongod`` script to ensure that the :term:`control scripts
2323
<control script>` start the :program:`mongod` with the appropriate
@@ -28,10 +28,10 @@ the following form:
2828

2929
.. code-block:: sh
3030

31-
mongod --config /etc/mongodb.conf
32-
mongod -f /etc/mongodb.conf
31+
mongod --config /etc/mongod.conf
32+
mongod -f /etc/mongod.conf
3333

34-
Modify the values in the ``/etc/mongodb.conf`` file on your system to
34+
Modify the values in the ``/etc/mongod.conf`` file on your system to
3535
control the configuration of your database instance.
3636

3737
.. _base-config:

source/includes/considerations-deploying-replica-set.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Configuration
3939
~~~~~~~~~~~~~
4040

4141
Specify the run time configuration on each system in a :doc:`configuration
42-
file </reference/configuration-options>` stored in ``/etc/mongodb.conf``
42+
file </reference/configuration-options>` stored in ``/etc/mongod.conf``
4343
or a related location. Create the directory where MongoDB stores data
4444
files before deploying MongoDB.
4545

source/includes/options-mongod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ description: |
372372
373373
If you
374374
installed MongoDB using a package management system, check the
375-
``/etc/mongodb.conf`` file provided by your packages to see the
375+
``/etc/mongod.conf`` file provided by your packages to see the
376376
directory is specified.
377377
post: |
378378
.. versionchanged:: 3.0

source/includes/steps-fips-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ pre: "For example, run this command to start the :program:`mongod` instance wit
2323
action:
2424
language: javascript
2525
code: |
26-
mongod --config /etc/mongodb.conf
26+
mongod --config /etc/mongod.conf
2727
...

source/reference/command/getCmdLineOpts.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ getCmdLineOpts
2929
"argv" : [
3030
"/usr/bin/mongod",
3131
"--config",
32-
"/etc/mongodb.conf",
32+
"/etc/mongod.conf",
3333
"--fork"
3434
],
3535
"parsed" : {

source/reference/configuration-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ For example, the following specifies a config file for a
7070

7171
.. code-block:: sh
7272

73-
mongod --config /etc/mongodb.conf
73+
mongod --config /etc/mongod.conf
7474

7575
The following specifies a config file for a :program:`mongos` using the
7676
``-f`` alias:
7777

7878
.. code-block:: sh
7979

80-
mongos -f /etc/mongodb.conf
80+
mongos -f /etc/mongod.conf
8181

8282
Settings
8383
--------

source/release-notes/2.6-compatibility.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,11 @@ Description
439439
Linux, and derivatives) and DEB (Debian, Ubuntu, and derivatives),
440440
the default :setting:`~net.bindIp` value attaches MongoDB components to
441441
the localhost interface *only*. These packages set this default in
442-
the default configuration file (i.e. ``/etc/mongodb.conf``.)
442+
the default configuration file (i.e. ``/etc/mongod.conf``.)
443443

444444
Solution
445445
If you use one of these packages and have *not* modified the default
446-
``/etc/mongodb.conf`` file, you will need to set :setting:`~net.bindIp`
446+
``/etc/mongod.conf`` file, you will need to set :setting:`~net.bindIp`
447447
before or during the upgrade.
448448

449449
There is no default :setting:`~net.bindIp` setting in any other official MongoDB

source/tutorial/expand-replica-set.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ Add a Member to an Existing Replica Set
124124
.. optional::
125125

126126
You can specify the data directory and replica set in the
127-
``mongo.conf`` :doc:`configuration file
127+
``mongod.conf`` :doc:`configuration file
128128
</reference/configuration-options>`, and start the
129129
:program:`mongod` with the following command:
130130

131131
.. code-block:: sh
132132

133-
mongod --config /etc/mongodb.conf
133+
mongod --config /etc/mongod.conf
134134

135135
#. Connect to the replica set's primary.
136136

0 commit comments

Comments
 (0)