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

/etc/default/mongodb not used; no DAEMON_OPTS or similar available

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.9
    • Admin
    • None

    Description

      I used to set a couple of options (e.g. --replSet) in /etc/default/mongodb to configure the daemon started through my custom sysvinit script (start-stop-daemon ... – $DAEMON_OPTS).

      The upstart script sources /etc/default/mongodb, but doesn't actually use any variables. Should I use /etc/mongodb.conf instead?

      Ubuntu, Version 2.4.9 (http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu)

      Thanks.

      Attachments

        Activity

          People

            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            m Michael
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: