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

Re: how to manage services ?

On Tue, 3 Aug 2004, Didar Hussain wrote:

> On Wed, Aug 04, 2004 at 10:02:07AM +0500, debi@niit.edu.pk wrote:
> > Hi,
> > 
> > I am new to debina. I have certain services running like lpd rpc etc. In RedHat there is a command chkconfig with which i can start/ top services for certain run levels or completely stop it from running.
> I do not like unnecessary processes/daemons running, so to have
> them disabled completely irrespective of runlevel, I do:
> update-rc.d -f <name> remove

A warning: a package that is disabled in this manner will not remain 
disabled if that package is updated. See man page for update-rc.d.

There are also things to watch out for like logrotate. On one machine lpd 
kept popping up every week even though I wanted it off, logrotate was 
restarting it! Better to just remove the package if you really don't want 
it enabled.


Bill Carlson
Systems Administrator    wcarlson@vh.org      | Anything is possible,
Virtual Hospital      http://www.vh.org/      | given time and money.
University of Iowa Hospitals and Clinics      |       
Opinions are mine, not my employer's.         | 

Reply to: