Hello, On Sun, 14 Apr 2013, Andrey Borzenkov wrote:
? Sun, 14 Apr 2013 13:41:30 +0200 David Haller
?????: On Sat, 13 Apr 2013, Andrey Borzenkov wrote:
David Haller
?????: A service having a "S*" file in the new runlevel is _defined_ in that runlevel and won't get signalled (TERM ... KILL) by init.
How init decides which processes are part of "service" (i.e. had been started by script residing in specific directory with S* in it name) and should be killed?
That's the job of the init-script.
So how can init send KILL signal to services that are not supposed to exist in current runlevel? Or better, how is it related to having or not having S* in file name?
It doesn't. That's not its job. It's job is to call the K-links with the argument "stop" that don't have a S-link script in the target runlevel. The scripts have to react accordingly to being called with the argument "stop". Just have a look at /etc/init.d/skeleton. -dnh -- "Don't put off 'till tomorrow, responsibilities. They'll just come back to haunt you. (Ignore them totally)" -- TISM -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org