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

Ubuntu startup files have an inconsistent directory for dbpath and logs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.7, 3.1.8
    • Affects Version/s: None
    • Component/s: Packaging
    • Labels:
      None
    • Fully Compatible
    • Linux
    • Build 5 06/26/16, Build 6 07/17/15, Build 7 08/10/15, Build 8 08/31/15

      From the upstart file
      if [ ! -d /var/lib/mongod ]; then
      mkdir -p /var/lib/mongodb && chown mongodb:mongodb /var/lib/mongodb
      fi
      if [ ! -d /var/log/mongod ]; then
      mkdir -p /var/log/mongodb && chown mongodb:mongodb /var/log/mongodb
      fi

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            charlie.page@10gen.com Charlie Page
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: