<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Aug 29, 2008 at 7:37 AM, Jonatan Liljedahl <span dir="ltr"><<a href="mailto:lijon@kymatica.com">lijon@kymatica.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Carlo Calica wrote:<br>
> On Wed, Aug 27, 2008 at 9:02 AM, Jonatan Liljedahl <<a href="mailto:lijon@kymatica.com">lijon@kymatica.com</a>> wrote:<br>
>> One thing I noticed about gobo Tasks is that some takes start/stop<br>
>> arguments and some does not. Doing StopTask Network brings down the<br>
>> interfaces, while StopTask HAL would try to start another copy of hald!<br>
>><br>
><br>
> Yes, our Tasks are a mess. I have a simple #! wrapper that handles<br>
> the arg processing and calls start()/stop() hooks as required. There<br>
> are restart() and reload() hooks as well but if they don't exist the<br>
> wrapper just calls the stop() and start() hooks in order. I haven't<br>
> had time to benchmark a boot using the wrapper to see if there's a<br>
> slowdown.<br>
><br>
> The goal is to make Tasks similar to recipes. Metadata could be added<br>
> as vars and more hooks defined as needed. Some form a dependency<br>
> handling is worthwhile. See [1] for a "need" based approach.<br>
> Hopefully, the wrapper could abstract away the differences between<br>
> basic init, advanced features of Upstart, InitNG.<br>
><br>
> That leaves HOW tasks are selected for boot. I think this should<br>
> outside the Task files themselves. With dependency handling, this<br>
> could be an array in BootOptions, but I don't really like that either.<br>
<br>
</div>I'd like a /S/S/BootTasks file with one task per line, with # comments..<br>
<font color="#888888"></font></blockquote><div><br>I kind of like the idea with that file too.<br>I will certainly look into the init projects (upstart, initNG, eInit).<br>Lets see if I can provide a patch, or new way of doing stuff, which you all like ;)<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888"><br>
--<br>
/Jonatan [ <a href="http://kymatica.com" target="_blank">http://kymatica.com</a> ]<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
gobolinux-devel mailing list<br>
<a href="mailto:gobolinux-devel@lists.gobolinux.org">gobolinux-devel@lists.gobolinux.org</a><br>
<a href="http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel" target="_blank">http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel</a><br>
</div></div></blockquote></div><br></div>