On Tue, Oct 21, 2008 at 6:45 PM, Noah Slater <[EMAIL PROTECTED]> wrote: > Hey, > > Have things changed? > > When I checked in this documentation you: > > * did not have to use the .plist extension, I'm sure it wouldn't even work > > * loading the plist file would automatically start CouchDB > > Any reason for the changes? >
It's been my experience that this has been broken for a while. The new version seems to work for me... > On Wed, Oct 22, 2008 at 12:21:47AM -0000, [EMAIL PROTECTED] wrote: >> Author: jchris >> Date: Tue Oct 21 17:21:46 2008 >> New Revision: 706817 >> >> URL: http://svn.apache.org/viewvc?rev=706817&view=rev >> Log: >> osx launchctl readme notes >> >> Modified: >> incubator/couchdb/trunk/README >> >> Modified: incubator/couchdb/trunk/README >> URL: >> http://svn.apache.org/viewvc/incubator/couchdb/trunk/README?rev=706817&r1=706816&r2=706817&view=diff >> ============================================================================== >> --- incubator/couchdb/trunk/README (original) >> +++ incubator/couchdb/trunk/README Tue Oct 21 17:21:46 2008 >> @@ -232,10 +232,10 @@ >> appropriate. If you are running the init script as a non-superuser you need >> to >> remove the line with the `COUCHDB_USER` setting. >> >> -If you wish the ApacheCouchDB daemon to run as a system service you need to >> copy >> -the `/usr/local/etc/[init.d|rc.d]/couchdb` script into your system wide >> +If you wish the Apache CouchDB daemon to run as a system service you need to >> +copy the `/usr/local/etc/[init.d|rc.d]/couchdb` script into your system wide >> `/etc/[init.d|rc.d]` directory and update your system configuration as >> -appropriate. Consult your system documentation for more information. >> +appropriate. Consult your system documentation for more information. >> >> If you are running a Debian GNU/Linux system (or a derivative such as Ubuntu >> GNU/Linux) you can configure your system using the following command: >> @@ -249,11 +249,15 @@ >> >> To load the launchd configuration you must run the following command: >> >> - sudo launchctl load /usr/local/Library/LaunchDaemons/org.apache.couchdb >> + sudo launchctl load >> /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist >> + >> +Then you can start Apache CouchDB by running : >> + >> + sudo launchctl start org.apache.couchdb >> >> You can stop the Apache CouchDB daemon by running the following command: >> >> - sudo launchctl unload >> /usr/local/Library/LaunchDaemons/org.apache.couchdb >> + sudo launchctl unload >> /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist >> >> If you wish to change the launchd configuration, such as which user to run >> Apache CouchDB as, you must edit the >> >> > > -- > Noah Slater, http://bytesexual.org/nslater > -- Chris Anderson http://jchris.mfdz.com
