You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (JIRA)" <ji...@apache.org> on 2010/10/09 03:19:11 UTC

[jira] Updated: (COUCHDB-501) launchd plist for Mac OS X needs cleanup

     [ https://issues.apache.org/jira/browse/COUCHDB-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis updated COUCHDB-501:
--------------------------------------

    Skill Level: New Contributors Level (Easy)

> launchd plist for Mac OS X needs cleanup
> ----------------------------------------
>
>                 Key: COUCHDB-501
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-501
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 0.11
>         Environment: Mac OS X 10.6, Snow Leopard
>            Reporter: Per Ejeklint
>            Priority: Minor
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.