Re: runlevels

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

 



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.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux