From dev-return-6336-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Sep 10 18:13:31 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 74446 invoked from network); 10 Sep 2009 18:13:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 18:13:30 -0000 Received: (qmail 20102 invoked by uid 500); 10 Sep 2009 18:13:29 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 20015 invoked by uid 500); 10 Sep 2009 18:13:28 -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 19997 invoked by uid 99); 10 Sep 2009 18:13:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:13:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 18:13:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7EEAB234C004 for ; Thu, 10 Sep 2009 11:12:57 -0700 (PDT) Message-ID: <767974781.1252606377505.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 11:12:57 -0700 (PDT) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-499) allow /etc/default/couchdb to control whether couchdb is started by default In-Reply-To: <737204454.1252605837625.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753741#action_12753741 ] Paul Joseph Davis commented on COUCHDB-499: ------------------------------------------- I think principle of least surprise would be to have a system CouchDB start by default and then let the Debian package override this behavior. Other than that I think the patch would be fine. > allow /etc/default/couchdb to control whether couchdb is started by default > --------------------------------------------------------------------------- > > Key: COUCHDB-499 > URL: https://issues.apache.org/jira/browse/COUCHDB-499 > Project: CouchDB > Issue Type: Improvement > Affects Versions: 0.10 > Environment: Ubuntu 9.10 (Karmic) > Reporter: Elliot Murphy > Priority: Minor > Fix For: 0.10 > > Attachments: control-service-start.patch > > > couchdb starts by default when installed on Ubuntu (or any debian derivative). > In Ubuntu, we are including couchdb in the default desktop install. > however, we are not using the system couchdb, we are starting a per-user couchdb instance on-demand. > separately, ubuntu is working on minimizing boot times. > it would be nice if laptops and netbooks did not have couchdb startup time included in a normal system boot unless the user really wanted to have the system couchdb starting up. this is the Ubuntu bug number for reference: https://code.edge.launchpad.net/bugs/427036 > One way to fix this would be to use a variable in /etc/default/couchdb to determine whether or not to start the system couchdb instance. This is the approach that is taken by pulseaudio, fetchmail, and monit. I'm discussing this fix with Ubuntu core-devs now: https://code.edge.launchpad.net/~statik/ubuntu/karmic/couchdb/fix-bug427036/+merge/11543 > I'm also attaching a patch which changes the init script and /etc/couchdb/default in the way I've just described. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.