For /var/lib/ http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE38
State information is generally used to preserve the condition of an application (or a group of inter-related applications) between invocations and between different instances of the same application. For /var/run/ http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE46 This directory contains system information data describing the system since it was booted. Ie, things that describe an instance of a running program go in /var/run, where things that must remain valid across multiple instances of the same program go in /var/lib. A randomly chosen port is obviously only valid for a single instance of the program, so should be placed in /var/run. Paul Davis On Sat, Sep 25, 2010 at 1:40 PM, Benoit Chesneau <[email protected]> wrote: > Why? > > Sent from my nexus one. > > On Sep 25, 2010 7:17 PM, "Filipe Manana (JIRA)" <[email protected]> wrote: > > > [ > https://issues.apache.org/jira/browse/COUCHDB-393?page=com.atlassian.jira.plugin.system.issu. > .. > Filipe Manana updated COUCHDB-393: > ---------------------------------- > > Attachment: couch_uri_var_run_couch.patch > > I don't like much the fact that the .uri file goes into the same directory > as the DB files (var/lib/couchdb). > > With the following patch, I propose moving it into %localstaterundir% > (defaults to var/run/couchdb/). > > Anyone against? > > >> Cannot discover currently running http port if ini file specifies port 0 >> ----------------------... >> Fix For: 0.12, 1.0 >> >> Attachments: couch_uri.patch, couch_uri_var_run_couch.patch, > couchctl.patch > >> >> >> It is currently not possible, if the ini file specifies port 0 as the http > port (so that the O... >
