couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <>
Subject Re: [jira] Commented: (COUCHDB-499) allow /etc/default/couchdb to control whether couchdb is started by default
Date Sat, 12 Sep 2009 12:31:24 GMT
On Sat, Sep 12, 2009 at 09:01:22AM +0100, Brian Candler wrote:
> In most cases these files aren't used for deciding whether the server is
> stopped or started. e.g.
> $ cat /etc/default/ntp
> NTPD_OPTS='-g'
> $
> If you want that package installed but not running, you'd use update-rc.d

No, this is false.

Users should generally not be running update-rc.d.

The use of /etc/default files are standard for disabling services.

> However perhaps a better example is exim4, which has a number of options
> including no daemon, or a daemon which is just a queue runner, or a daemon
> which is both queue runner or smtp listener. This is configured in
> /etc/default/exim4 and so the user can select it using dpkg-reconfigure

Right, this is an example of how to use this file properly. There are other
packages which will use this file to disable the service entirely. And the use
of dpkg-reconfigure good, but orthogonal to this discussion.


Noah Slater,

View raw message