I'm a bit confused, according to the
documentation the K and S links behave as follows:
Quote:
The name of each symbolic link begins with either a K or an S. The K links are processes that are killed on that runlevel, while those beginning with an S are started.
The init command first stops all of the K symbolic links in the directory by issuing the /etc/rc.d/init.d/<command> stop command, where <command> is the process to be killed. It then starts all of the S symbolic links by issuing /etc/rc.d/init.d/<command> start.
|
So I'd think that if I had some service that I wanted to be stopped on shutdown (run level 6), then I'd put in a "stop" handler for that service and create a K link for it in /etc/rc6.d. On shutdown, the system will effectively do a
service myserv stop
At least that's how I interpret this documentation. I suppose I could also create a service and create an S link for it in /etc/rc6.d, but in this case I'd need to supply a "start" handler for it. On entering run level 6, the system will process my S link and do a
service myserv start
You are suggesting though that the K scripts aren't run at all?