Daemon mgmt was Re: turning off /sbin/portmap
Just as an excercise to my own sys admin knowledge, I'll summarize my
general knowledge and just ask if anyone has suggestions or differences
in my understanding.
Daemons (or services) can be manually manipulated in debian using
/etc/init.d/<daemon> with the command start, stop, restart, etc..
This will only change what is currently running. If you reboot,
whatever was configured for your runlevel will be started again.
rcS.d/ is stuff started for every runlevel
rcn.d/ lists runlevel specific daemons that are started at boot
update-alternatives (or was it alternatives-update) is a admin tool for
adding, removing daemons from various runlevels.
To remove a daemon from starting at a given runlevel, i generally just
delete the entry in the /etc/rcn.d directory. Are there any reasons
for not doing that? I wish the update-alternatives would accept syntax
like "update-alternatives +3 postres" to add postgres to runlevel 3.
Maybe it does, it's been a while since I last used it.
Any other general notes?
--- Dermot Coffey <email@example.com> wrote:
> I can see a script to call it on my system in /etc/rcS.d
> This directory has scripts that start when booting in any
> On Thu, Mar 29, 2001 at 02:41:58PM +0900, Debian User wrote:
> > A daemon called /sbin/portmap starts when I boot my Debian Linux
> > system.
> > I have searched for the script that starts /sbin/portamp when my
> > boots. However, I can't find it. It doesn't seem to be in rc2.d.
> > Does anyone know how to make it not start upon booting?
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.