-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.6.1
-
Component/s: Packaging
-
Minor Change
Even I changed the dbpath and logpath in /etc/mongodb.conf, they are ignored as these two values are hard coded in the init script (/etc/init.d/mongodb)
DAEMONUSER=${DAEMONUSER:-mongodb} DAEMON_OPTS=${DAEMON_OPTS:-"--dbpath $DATA --logpath $LOGFILE run"} DAEMON_OPTS="$DAEMON_OPTS --config $CONF"
Other options are okay.
A simple fix would be reorder the line 2 and line 3 in the above commands.
- is duplicated by
-
SERVER-6855 debian mongodb package ignores some important parts of /etc/mongodb.conf
- Closed
-
SERVER-6066 Init-script ignores mongodb.conf dbpath and logpath settings
- Closed
-
SERVER-7303 dbpath not being read from mongodb.conf file when --dbpath is used
- Closed