[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: enable/disable flags in /etc/default

On Sat, 2011-02-26 at 21:44 +0100, Tollef Fog Heen wrote:
> Personally, I'd rather we didn't have them, as this is supposed to be
> controlled by the rcN.d links and if that interface is too hard for
> people we should fix that rather than invent multiple ways of disabling
> daemons, but the current mess is, well, a mess.

I would also love to have a way to easily configure which daemons should
be started at boot time. I don't know whether switching to insserv made
things simpler in that regard though.

In general I don't like having to mess with /etc/default/foo because it
also makes it more difficult to start/stop by hand.

Once nice compromise is what the mldonkey-server package does:
- /etc/default/mldonkey-server can be used to disable starting at boot,
- /etc/init.d/mldonkey-server force-start still allows manual starting
  of the service
- the service is correctly stopped on shutdown

I would personally really like to see this in most daemons that not all
users may need all the time. Extra bonus points for having some
convention for option names.

-- arthur - adejong@debian.org - http://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: