couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@tumbolia.org>
Subject Re: [jira] Updated: (COUCHDB-393) Cannot discover currently running http port if ini file specifies port 0
Date Fri, 25 Jun 2010 16:36:56 GMT
Anyone used screen?

When you do "screen -l" you get a list of running screens.

"couchdb -s" could do something similar.

You could then do "couchdb -s PID" to get the status of that instance, with URL.

Thoughts?

On 25 Jun 2010, at 17:35, Randall Leeds wrote:

> On Fri, Jun 25, 2010 at 11:01, Benoit Chesneau <bchesneau@gmail.com> wrote:
>> On Fri, Jun 25, 2010 at 5:47 PM, Noah Slater <nslater@tumbolia.org> wrote:
>>> No, what I meant is that this patch should add that functionality. Hehe.
>>> 
>> Mmm doable by parsing this file, though it will require to know where
>> the file is, which could be difficult. I wonder how -s works when
>> using the same installed base but with different ini at startup by the
>> way.
> 
> You can make -s work by using different pid files for each instance.
> I'm not sure how to make it know the port.
> 
> -Randall


Mime
View raw message