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

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.9
    • Component/s: Admin
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Ramon Fernandez
            Reporter:
            Michael
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: