:: Re: [devuan-dev] Improving the init…
Kezdőlap
Delete this message
Reply to this message
Szerző: alecmaillist
Dátum:  
Címzett: devuan developers internal list
Tárgy: Re: [devuan-dev] Improving the init situation on Devuan and Debian
Debian uses shell scripts for its initscripts and services. If I disregard what Debian uses, then yes, alternative languages could be used. Runit also allows services to be written in different languages. However, Void Linux, which we would pull services from, only uses shell scripts.

September 18, 2019 10:56 AM, "onefang" <onefang_devuan@???> wrote:

> On Wed, 18 Sep 2019 14:22:22 +0000 alecmaillist@??? said :
>
>> Sysvinit
>>
>> Now, let’s say you decide to uninstall systemd and replace it
>> with sysvinit, as you don’t think systemd reinstalling itself will be
>> an issue. As a second and easier option, you decide instead to
>> install Devuan and have sysvinit installed by default, with any of
>> the possible caveats listed in the directions taken away. If you
>> prefer good old-fashioned bash scripts, and /etc/initab for modifying
>> the runlevels, what processes to start and monitor, etc., that’s
>> great for you! Supporting that as an option is necessary for
>> backwards compatibility, and for many people, “it just works”.
>> However, writing sysvinit scripts can be a hassle, as they are shell
>> scripts through and through.
>
> This is not entirely true. A long time ago I wrote a version of the
> sysvinit system following the LSB standard, and entirely in C,
> including some example "scripts", also in C. There is nothing in the
> standard that says the init "scripts" have to be shell scripts. At
> least there wasn't at the time. If the standard is followed, they can
> be written in any language. The sysv init process doesn't have to be
> slow either.
>
> --
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.
> _______________________________________________
> devuan-dev internal mailing list
> devuan-dev@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev