Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5F3211ACE for ; Tue, 20 May 2014 11:24:38 +0000 (UTC) Received: (qmail 93227 invoked by uid 500); 20 May 2014 11:24:38 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 93169 invoked by uid 500); 20 May 2014 11:24:38 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 93160 invoked by uid 99); 20 May 2014 11:24:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 11:24:38 +0000 Date: Tue, 20 May 2014 11:24:38 +0000 (UTC) From: "Johannes J. Schmidt (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-2246) Make OS daemons configuration key available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Johannes J. Schmidt created COUCHDB-2246: -------------------------------------------- Summary: 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)