Re: How to manage services?
On Tue, Oct 07, 2003 at 09:43:45PM +0530, Sudeep Mukherjee wrote:
> I want to disable some services, e.g., Samba. What is the Debian way
> to do it?
If you don't want them, why not uninstall them?
If for some reason you don't want to do that, I find it best to stop the
service and then simply move the Snnwhatever symlink in /etc/rc2.d/ to a
name that starts with an 's' rather than an 'S' (so, let's say, 'mv
/etc/rc2.d/S20samba /etc/rc2.d/s20samba'). There's update-rc.d too, but
its semantics are a little confusing in connection with upgrades and
it's probably best to leave it for use only by automatic scripts until
you're familiar with it.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: