runlevels

Benjamin J. Weiss benjamin at birdvet.org
Wed Jan 5 20:22:49 UTC 2005


Steve Buehler wrote:

>         If you have S98script in the rc3.d directory, you should put 
> K98script in the same directory.  That way, when you start runlevel 3, 
> it will run and when you change or stop runlevel 3, it should kill 
> it.  I do not know if having the kill script with a different number 
> than the start script would matter or not, but it makes things look 
> better when trying to associate them.  I wouldn't think it would 
> matter since from my understanding of it, the number is just telling 
> the system the order of starting or deleting compared to the other 
> starts and kills.


Um...no.  You should only have one script in each directory, because the 
scripts are only run when the runlevel is entered, not when it leaves. 

Take a look at a default installation, and you'll only find one K or S 
script for each service.  Not both.




More information about the redhat-list mailing list