:: Re: [DNG] Apparently Jessie has run…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Rainer Weikusat
Datum:  
To: dng
Betreff: Re: [DNG] Apparently Jessie has runit
Steve Litt <slitt@???> writes:
> On Wed, 20 Jan 2016 20:23:10 +0000
> Rainer Weikusat <rainerweikusat@???> wrote:
>
>> Steve Litt <slitt@???> writes:
>> > People aren't completely alone on run scripts: I can give them any
>> > run scripts I'm using. Also, Runit run scripts are *nothing* like
>> > sysvinit or OpenRC init scripts:
>>
>> There is no such thing as a "sysvinit init script". The way the
>> sysvinit program is usually employed on Linux is such that it's
>> instructed to run the command /etc/init.d/rc with the run-level


[explanation of the difference between sysvinit and 'init scripts']

>> The commands which are actually executed via these S- and K-links come
>> from individual packages and ultimatively contain whatever the people
>> responsible for that considered sensible.
>
> The actual files to which the S- and K-links point are the "init
> scripts" to which I refer.


But they are not inherently related to the mechanism they're linked to.

> Anyway, they're usually an unholy mess, usually over 40 lines,
> I think I remember seeing some go over 100.


The sendmail init scripts is 1340 lines long, 901 of which contain code.
In contrast to this, "about 40 lines" is entirely reasonable.