[ https://issues.apache.org/jira/browse/COUCHDB-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003184#comment-14003184 ]
Robert Newson commented on COUCHDB-2246: ---------------------------------------- we'd need a special prefix or something, otherwise this idea is a privilege escalation vector. > Make OS daemons configuration key available > ------------------------------------------- > > Key: COUCHDB-2246 > URL: https://issues.apache.org/jira/browse/COUCHDB-2246 > Project: CouchDB > Issue Type: Improvement > Security Level: public(Regular issues) > Reporter: Johannes J. Schmidt > > When registering an os_daemon > {code} > [os_daemons] > my_daemon = /usr/bin/command > {code} > 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: > {code} > [os_daemons] > slow_daemon = /usr/bin/command > fast_daemon = /usr/bin/command > ; settings for instance slow_daemon of /usr/bin/command > [slow_daemon] > dbs: _users,_replicator > speed: 1 > ; settings for instance fast_daemon of /usr/bin/command > [fast_daemon] > dbs: projects,clients > speed: 10 > {code} > I think this could be done either via a new command, eg > {code} > ["key"]\n > {code} > or via environment variable, without breaking backwards compatibility. -- This message was sent by Atlassian JIRA (v6.2#6252)