diff options
author | John Christopher Anderson <jchris@apache.org> | 2008-10-22 00:21:46 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2008-10-22 00:21:46 +0000 |
commit | 561b9852b792bae344ad87b02b14f8e3f712a13e (patch) | |
tree | 44787984eb7776c67d0b39fe71be846440c5241a /README | |
parent | 7b27c98889ec0acfcaa3b798b1879e7749407a55 (diff) |
osx launchctl readme notes
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706817 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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 |