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

Re: preferred way to disable init.d script



Gebhardt Thomas wrote:

sometimes it is necessary to have a software package installed
but you do not want to run the included system service/daemon.
[...]
> So is there a smart solution I don't know?

In debian hints was mentioned that the "debian way" for doing this is to change "S" to "K" in the name of the link. You can do it like this:

update-rc.d -f <service> remove
update-rc.d <service> stop 20 0 1 2 3 4 5 6 .

(Point at the end of the second line is necessary)

Yevgen



Reply to: