Re: preferred way to disable init.d script
On Mon, 10 Jan 2005 17:10:58 +0100, Andreas Janssen
> Gebhardt Thomas (<email@example.com>) wrote:
> > sometimes it is necessary to have a software package installed
> > but you do not want to run the included system service/daemon.
> > Some packages provide a switch in /etc/defaults to manage this.
> > Other packages don't. What is the preferred way to handle these
> > packages?
> > I tried several strategies, but always found some drawbacks:
> > [...]
> > 3. update-rc.d -f <service> remove
> > -> service gets silently reinstalled on upgrades
> Only if you remove all of them. If you only remove the start link for
> the default runlevel, your configuration won't be changed when the
> package is upgraded.
I usually use sysv-rc-conf for this,
it remembers the priority numbers of a runlevel.
Makes it easy to enable it again later on.