:: 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
Joel Roth <joelz@???> writes:
> Steve Litt wrote:
>> 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
>>
>>
>> > 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. So perhaps I used the wrong name for them.
>> Anyway, they're usually an unholy mess, usually over 40 lines, I think
>> I remember seeing some go over 100.
>
> Hi Steve,
>
> How complicated is it to port such scripts to runit? Exim4's
> init.d script is 275 lines.


This depends on what you mean by "port", ie, do you just want the start
command, as was suggested elsewhere, or do you want to keep some of the
other features?