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

Re: preferred way to disable init.d script


Gebhardt Thomas (<gebhardt@hrz.uni-marburg.de>) 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.

best regards
 Andreas Janssen

Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976

Reply to: