Skip to content

Commit

Permalink
couchdb: add page
Browse files Browse the repository at this point in the history
  • Loading branch information
lamar-frankie committed Oct 18, 2017
1 parent 4510294 commit 7c8a7f6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pages/common/couchdb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# couchdb

> This is the command line interface for Apache CouchDB database server.
- Add a configuration file to chain:

`couchdb -a {{path/to/file}}`

- Add a configuration directory to chain:

`couchdb -A {{path/to/file}}`

- Enter the interactive Erlang shell:

`couchdb -i`

- Redirect output from couchdb.stdout to file:

`couchdb -o {{path/to/file}}`

- Redirect errors from couchdb.stderr to file:

`couchdb -e {{path/to/file}}`

- Display the status of the background process:

`couchdb -s`

- Kill the background process (Note: It will respawn if needed):

`couchdb -k`

- Shutdown the background process:

`couchdb -d`

0 comments on commit 7c8a7f6

Please sign in to comment.