Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-501

launchd plist for Mac OS X needs cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11
    • 0.10
    • Infrastructure
    • None
    • Mac OS X 10.6, Snow Leopard

    • New Contributors Level (Easy)

    Description

      The provided org.apache.couchdb.plist for launchd contains the flag OnDemand set to true, as well as KeepAlive. OnDemand was deprecated in 10.4 and replaced by KeepAlive which is much more powerful. As a result, launchd will NOT restart CouchDB on Snow Leopard after it has been stopped with launchctl stop org.apache.couchdb, as is stated in the README. A manual start or reboot is needed.

      Solution: just remove the OnDemand tag from the plist and all is happy happy again.

      As a side note: if on-demand loading is really what's wanted, launchd needs more information. There must be information about which socket launchd should monitor, and keeping that in sync with the port number people choose for couchdb seems just way too much work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ejeklint Per Ejeklint
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified