preventing debian services from auto-starting

Kenny Hitt kenny at hittsjunk.net
Fri Sep 2 08:55:18 EDT 2005


Hi.

You don't want to remove any scripts from /etc/init.d on Debian.  You
want to remove or rename the symbolic links in /etc/rc2.d.
/etc/rc2.d is the default dir for managing init scripts for runlevel 2
on a Debian system.

Check out the man page and docs for using update-rc.d to understand how
packages manage init scripts.
Usually, the package only runs update-rc.d during initial install.
After that, it can update the init script if needed, but as long as it
sees a link for it in one of the /etc/rc?.d dirs, it won't run
update-rc.d again.

         Kenny

On Thu, Sep 01, 2005 at 11:05:41PM -0500, Gregory Nowak wrote:
> Hi all.
> 
> I'll try to make this my last question, promise (grin). Some of the
> services I'm setting up on the debian system are meant to be there as
> backup, so that I can have everything in place to start them when
> needed, but they will not generally be run. My question is, will it be
> enough for me to move /etc/init.d/apache-ssl out of the way to
> somewhere, in order to prevent apache-ssl from starting at boot, or do I also
> need to run update-rc.d to remove the links? If I should use
> update-rc.d to remove the links, then how do I know the exact
> update-rc.d command-line that a package used to setup the links when
> it installed itself? Hope this makes sense. Again, thanks in advance.
> 
> Greg
> 
> 
> -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
> 
> --
> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list