:: Re: [DNG] What is an init system?
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Antoine
日付:  
To: dng
題目: Re: [DNG] What is an init system?
On Saturday, 11 May at 13:56, Didier Kryn wrote:
>Le 11/05/2024 à 02:45, Steve Litt a écrit :
>
>    Just FYI, Busybox's init works on the same principle, also with
>/etc/inittab. As simple as take the sysv inittab and remove the
>run-levels column.
>
>    Is there still this concept of run-level with openrc, runit and s6?
>
>--     Didier


I couldn't say for openRC and s6, but runit manages runlevels in the
same way it manages everything: simply :^D

In more detail: each service script is in its own directory, which are
then grouped into runlevel-directories. The `runsvchdir` command tells
runit to shift to another such runlevel-directory. In this sense, it's
like SysVInit's rat's nest.
One difference is that there's no set number of runlevels. There can be
as many or as few as you want, and you can name them whatever you want.

- Antoine

--
Nothing ventured, nothing gained.