libinit idea

Scot Hetzel swhetzel at gmail.com
Sun Feb 23 07:46:29 UTC 2014


On Sat, Feb 22, 2014 at 5:54 PM, Bruno Lauzé <brunolauze at msn.com> wrote:
> https://github.com/brunolauze/libnit
>
> I know there's really big debate about init system but here's my tentative to propose a new model to replace rc.
>
> Let's call it libinit but the name as no significance for now.
>
> I started coding a library with the following architecture.
>
> the main idea is to rewrite rc in C language.
>
> a utility called system would act a little bit like service command does.
>
> a folder would contains libraries instead of scripts inside [target]/etc/rc.d
> so we can add as many librairies a user desire and interlink the order of each piece among all like in rc.
>
libraries don't belong in [target]/etc/rc.d, they would have to be in
{/usr,}/lib{exec,}/rc.d or ${PREFIX}/lib{exec,}/rc.d


-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.


More information about the freebsd-current mailing list