[
https://issues.apache.org/jira/browse/COUCHDB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396579#comment-13396579
]
Ivan Krechetov commented on COUCHDB-1499:
-----------------------------------------
I'm using homebrew.
To start the daemon I simply do
/usr/local/bin/couchdb -b -o /usr/local/var/log/couchdb.log -e
/usr/local/var/log/couchdb.log
Thanks for the launchdaemon reference! I'll check it out.
> CouchDB daemon terminates when the computer goes to sleep
> ---------------------------------------------------------
>
> Key: COUCHDB-1499
> URL: https://issues.apache.org/jira/browse/COUCHDB-1499
> Project: CouchDB
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: 1.1.1, 1.2
> Environment: OS X 10.6.8
> Reporter: Ivan Krechetov
> Priority: Minor
> Labels: daemon
>
> Log entries on sleep and wake up:
> heart: Mon Jun 18 18:28:11 2012: heart-beat time-out.
> heart: Mon Jun 18 20:52:23 2012: Executed
> "/usr/local/Cellar/couchdb/1.2.0/bin/couchdb -k". Terminating.
> heart_beat_kill_pid = 62249
> heart_beat_timeout = 11
> Then, I just start it manually again, after the OS wakes up:
> Apache CouchDB 1.2.0 (LogLevel=info) is starting.
> Apache CouchDB has started. Time to relax.
> [info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:5984/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira