Re: runit SIGPWR support

From: John W Higgins <wishdev_at_gmail.com>
Date: Fri, 14 Feb 2020 11:08:18 -0800

Good Day,

On Wed, Feb 12, 2020 at 6:26 AM innerspacepilot <innerspacepilot_at_gmx.com>
wrote:

>
> Why not just make runit systems run inside containers out of the box?
> We are talking about one/two lines of code.
>
>
The much better option here (in terms of playing well with others) would be
this

https://github.com/Yelp/dumb-init

A very small pid 1 that sits just on top of your now pid 2 runit and will
rewrite signals for you [1] so that SIGPWR magically becomes SIGTERM for
runit. No modification to either side.

That's a win-win

John W Higgins

[1] - https://github.com/Yelp/dumb-init#signal-rewriting
Received on Fri Feb 14 2020 - 19:08:18 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC