couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliot Murphy (JIRA)" <>
Subject [jira] Commented: (COUCHDB-499) allow /etc/default/couchdb to control whether couchdb is started by default
Date Thu, 10 Sep 2009 18:28:57 GMT


Elliot Murphy commented on COUCHDB-499:

Is /etc/default/couchdb used by anything other than the debian package? I guess perhaps a
locally built install/make install would use it?

the other way of solving this that has been proposed is to move the init script into a separate
binary package, for example couchdb-server. Then it's possible to install couchdb without
getting any system couchdb started, and if you install couchdb-server you get the init script
and a system couchdb.

This would require also going and communicating the change to all the packages which depend
on couchdb so that they could change their dependency to couchdb-server if desired. Currently
I think that list is pretty short, but it's worth considering.

Thanks for the quick feedback, I'm trying to discuss this issue with all the interested communities
so that the fix we put into ubuntu is the best possible one, and compatible with debian and
anywhere else that uses /etc/default/couchdb.

> allow /etc/default/couchdb to control whether couchdb is started by default
> ---------------------------------------------------------------------------
>                 Key: COUCHDB-499
>                 URL:
>             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
> 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:
> 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:
> 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.

View raw message