Kyle Burton on Tue, 18 May 1999 09:36:52 -0400 (EDT)


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

Re: Debian boot script question


I dont' think this is specific to debian, but...

If you have a link like say:

  /etc/rc.d/rc3.d/S85httpd   ->  /etc/rc.d/init.d/httpd

it will get started when your system enters runlevel 3, all the SNNxxx
links will get started in the order of the NN, so 01 gets started first,
while 99 gets started last.  KNNxxx kills the process when you enter the
runlevel.  If you have a SNNsshd, you can either change it to a KNNsshd, 
to have it killed when you enter that runlevel. or just remove the symlink,
and it'll stay running if it was running before you entered the runlevel,
or if it wasn't, it'll stay not running.  You will still have the actual
init script in /etc/rc.d/init.d to use manually if you so choose.  sshd
can also be run from inetd, depends on what your needs are.


k

------------------------------------------------------------------------------
The personal computer market is about the same size as the total potato chip
market. Next year it will be about half the size of the pet food market and is
fast approaching the total worldwide sales of pantyhose" 
    -- James Finke, Commodore Int'l Ltd., 1982
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------

On Tue, 18 May 1999, Kurt D. Starsinic wrote:

> Hi,
> 
>     What's the proper way to disable a startup script in Debian?  E.g., I've
> installed the `ssh' package, and I don't want `sshd' to start up
> automatically, but I'd like to be able to type `/etc/init.d/ssh start' at any
> time.
> 
>     Peace,
> * Kurt Starsinic (Kurt.Starsinic@isinet.com) --------- Technical Specialist *
> |    ``Pooh wondered if being a faithful Knight meant that you just went    |
> |      on being faithful without being told things.'' -- A.A. Milne         |
> Institute for Scientific Information                   http://www.isinet.com/
> 
> --
> To unsubscribe, send a message with the word 'unsubscribe' in the subject
> or body of your message to plug-request@lists.nothinbut.net
> 
> 

--
To unsubscribe, send a message with the word 'unsubscribe' in the subject
or body of your message to plug-request@lists.nothinbut.net