On 13 Mar, marc fleury wrote: [...] > The problem is a painful russian doll structure. > > 3- however there are 3 static directories deploy/first, deploy/second, > deploy/third, actually i could call them > deploy/deploy1, deploy/deploy2/deploy3... and allow for arbitrary numbers > but we would provide at least 3. > AND > if you drop something in deploy and deploy1 deploy2 for example > > deploy/sar > deploy1/jar > deploy2/war, sar1 > deploy3/ jar2, ear, xml > > you get > > deploy1-deploy2-deploy3-deploy with ordering from 2 and 1 above so > > jar, sar1, war, jar2, xml, ear, sar > > voila! no dependency explicitely set but a very simple way of putting stuff > in the right order. It will do the trick. I'll code it if a certain someone > doesn't. > > rc1-rc6 has been in Unix for 20 years, so let's stop fucking around > > marcf
Well, rc1-rc6 has nothing with ordering to do, but is the different runlevels. For example, when you start in rc3 this mean server/network and certain services should be started, runlevel 5 is for X11 support and perhaps a different or additional set of services should be started. runlevel 6 will reboot the system and so on. The order in which the services should be started is NOT decied by the number on the runlevel or directory, but by the number and symbol the service start and stop script have (normaly a symlink to a script without any numbers), ie: /etc/rc.d/rc3.d/S10network will start before /etc/rc.d/rc3.d/S80sendmail because 10 commes before 80. however /etc/rc.d/rc1.d/S20random will not start after (nor before) S10network because there is no S10network in rc1.d and if the runlevel is 1 then the scripts in rc3.d will never be run. This is at least how I have learn Unix and the idea of runlevels in SysV inspired systems. //Peter -- ------------------------------------------------------------ Peter Antman Chief Systems Architect, Business Development Technology in Media, Box 34105 100 26 Stockholm WWW: http://www.tim.se WWW: http://www.backsource.org Email: [EMAIL PROTECTED] Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942 ------------------------------------------------------------ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development