:: Re: [DNG] Be prepared for the fall …
Etusivu
Poista viesti
Vastaa
Lähettäjä: Steve Litt
Päiväys:  
Vastaanottaja: dng
Uudet otsikot: [DNG] Init respawns - was: Be prepared for the fall of systemd
Aihe: Re: [DNG] Be prepared for the fall of systemd
On Tue, 2022-08-02 at 11:25 +0200, karl@??? wrote:
> Steve Litt:
> ...
> > * Runit
> > * S6
> ...
>
> Why not busybox init, it handles gettys and the rest is up to
> /etc/rcS, which you are free to make it do whatever you like.
>
> As a direct replacement for sysv init, you can use
> for i in /etc/rcS.d/S* /etc/rc2.d/S*
> do
>   $i start
> done
>
> in rcS and similar for shutdown.


Thanks Karl,

Some questions:

1) Does Busybox init require the daemon to background itself?

2) Does Busybox init give you a reasonable way to automatically restart the process
after the process terminates?

3) Does Busybox init give you the choice of auto-restart or not for each different
process? If it does, that's something specifically missing in Runit.

Thanks,

SteveT