Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20404

Add Option for Config File in init Script

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.4, 3.3.2
    • Component/s: Packaging
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.2
    • Sprint:
      Build A (10/09/15), Build B (10/30/15), Build 10 (02/19/16)

      Description

      When upgrading to a newer version of MongoDB, the init script is overwritten. This removes any changes the user may have made to the script, such as changing the SERVICE_USER. Adding the ability to persist changes like this between versions of MongoDB would be helpful.

      One possible way of doing this would be to add the ability to maintain a config file outside the init script. When the script starts, it checks the presence of this file, uses the information inside, or if it doesn't exist, use the default values.

        Attachments

          Activity

            People

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            peter.garafano Peter Garafano
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: