[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] remove htpd/sendmail
- Subject: Re: [cobalt-users] remove htpd/sendmail
- From: "Robert G. Fisher" <rfisher@xxxxxxxxxxxxxxx>
- Date: Mon Aug 28 12:04:48 2000
On Mon, Aug 28, 2000 at 12:10:29PM -0500, Rodolfo Paiz wrote:
> I believe both these services are run by inetd.
Nope, both run as init scripts.
> > [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Benjamin Tehan
> > This might sound weird to you all but How can I remove the httpd and
> > sendmail from the start up process.
The /etc/rc.d/init.d directory holds all init scripts to start and stop
various daemons. (Well all that Cobalt installed at least.)
Then in the /etc/rc.d/rc#.d/ directory heirachy you should find
files that follow the order of K##script and S##script. Generally
you will find that the ## of the K and S scripts are different
numbers. You should also notice that each of these entries are
really just symlinks back into the ../init.d directory to the
init script of the similiar name.
Those ##'s are important, the rc script will first list all
K* scripts in the run level directory and call them with the
"scriptname stop". Then it does a for loop on all S* scripts
to call them with "scriptname start".
What happens is that the rc scripts check the appropriate rc#.d
directory whenever they enter a runlevel. The default server
runlevel is 3, so you will primarily focus on /etc/rc.d/rc3.d/
directory. Now in my /etc/rc.d/rc3.d directory on my RaQ2, I
see that the filenames for sendmail and httpd are S80sendmail
and S85httpd.
If you deleted these symlinks or mv'd them to K80sendmail
and K85httpd that would stop those daemons from running
and prevent them from coming up at boot time.
--
Robert G. Fisher Sitestar.net, Inc.
Senior System Engineer (540) 666-9533 x 116