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

Add repair option to rc.d/init.d script

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.5
    • Affects Version/s: None
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      Arch linux 64

      running mongod --repair, without the same options as used via the rc.d script, isn't going to work.

      Running repair therefore involves looking at the rc.d script to get the correct options. To make things easier the attached diff (against http://aur.archlinux.org/packages/mongodb/mongodb/mongodb.rc) adds repair as an option to the startup script. I didn't add removing the lock file as there is an open ticket to remove the lock file (or try to) as part of the repair process.

            Assignee:
            richard.kreuter Richard Kreuter (Inactive)
            Reporter:
            ad7six Andy Dawson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: