preventing debian services from auto-starting

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

 



Greg,

To answer part of your question, the default settings for update-rc.d 
will probably do when you want to reactivate an idle service. The 
defaults will kill a service on entry to run levels 0, 1, and 6, and 
start it on entry to run levels 2 through 5. Debian does not treat any 
of the multi user run levels differently. No special run level for X, 
for instance.

The simplest way to bypass starting a service is to use update-rc.d to 
let the system kill the service on entry to all the run levels. Killing 
a service that is not running will do nothing. On the other hand, some 
services have default files containing an option to run it or not, so 
that even if the init script tries to run it, the default file says "no 
thanks" and it does not start. One that comes to mind is vsftp.

Chuck

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

-- 
The Moon is Waning Crescent (2% of Full)
But you can still get downloads from http://www.mhcable.com/~chuckh
or you could Jabber me, using JID chuckh at hhs48.com




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux