Disables a services from starting at all runlevel?
I have a service foo
which currently starts at runlevel 3 and above. How can I stop it from doing so, without using update-rc.d foo stop 3 .
, which (if I understand it correctly) would turn off the service at each runlevel change.
(ie., if I was at runlevel 1 and enabled foo
, then when I changed to runlevel 3 it would be disabled, no?)
Running Debian GNU/Linux Lenny.