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

Add Option for Config File in init Script

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.4, 3.3.2
    • Affects Version/s: None
    • Component/s: Packaging
    • Labels:
    • Fully Compatible
    • v3.2
    • Build A (10/09/15), Build B (10/30/15), Build 10 (02/19/16)

      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.

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

              Created:
              Updated:
              Resolved: