From 561b9852b792bae344ad87b02b14f8e3f712a13e Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Wed, 22 Oct 2008 00:21:46 +0000 Subject: osx launchctl readme notes git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706817 13f79535-47bb-0310-9956-ffa450edef68 --- README | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README b/README index 41b84a75..6fca9101 100644 --- a/README +++ b/README @@ -232,10 +232,10 @@ Apache CouchDB as, you must edit the `/usr/local/etc/default/couchdb` file as 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 @@ You can use the `launchctl` command to control the Apache CouchDB daemon. 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 -- cgit v1.2.3