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

XMLWordPrintableJSON

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

      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.

        1. mongodb.diff
          0.5 kB
          Andy Dawson

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

              Created:
              Updated:
              Resolved: