couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes J. Schmidt (JIRA)" <>
Subject [jira] [Created] (COUCHDB-2246) Make OS daemons configuration key available
Date Tue, 20 May 2014 11:24:38 GMT
Johannes J. Schmidt created COUCHDB-2246:

             Summary: Make OS daemons configuration key available
                 Key: COUCHDB-2246
             Project: CouchDB
          Issue Type: Improvement
      Security Level: public (Regular issues)
            Reporter: Johannes J. Schmidt

When registering an os_daemon

my_daemon = /usr/bin/command

there is no possibility to access the key *my_daemon*.

I would like to manage daemon configuration under the specific key, which enables having different
configurations for multiple instances of a single daemon script:

slow_daemon = /usr/bin/command
fast_daemon = /usr/bin/command

; settings for instance slow_daemon of /usr/bin/command
dbs: _users,_replicator
speed: 1

; settings for instance fast_daemon of /usr/bin/command
dbs: projects,clients
speed: 10

I think this could be done either via a new command, eg
or via environment variable, without breaking backwards compatibility.

This message was sent by Atlassian JIRA

View raw message