Hi,

On Wed, 2002-03-13 at 16:47, marc fleury wrote:
> |/etc/rc.d/rc3.d/S10network will start before /etc/rc.d/rc3.d/S80sendmail
> |because 10 commes before 80.
> 
> whatever,
> 
> stuff in rc2 is started before stuff in rc3

this is not correct when looked upon from the UNIX perspective. My
system boots up in runlevel 3, thus everything under 'rc3.d' is run
sequenced by the numbers (S10 before S11, etc.). SysV doesn't care what
is in the other rcX.d directories, it just looks into the directory that
it is switching runlevel to.

When switching in between runlevels (i.e. upon system boot), it also
looks in the current runlevel directory and runs any script called Kxx
(xx again a sequence number) to shutdown any services currently running.
After this has been done it will start everything that is in the next
runlevels directory.

When switching e.g. from level 3 to level 5, SysV

1. runs all 'Kxx' scripts from rc3.d  (K is for KILL)
2. runs all 'Sxx' scripts from rc5.d

> also the S10network before the S80sendmail is a convention that is actually
> great, it is an explicit ordering of deployments and is maybe complementary
> to the extension implicit ordering that was removed.

+1

> the other thing that i like about the solution is the lack of any xml mumbo
> jumbo dependencies, it is quite straightforward.

+1

> and again, unix is good :)

+2 ;)

Christian


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to