On Thu, 02 Feb 2017 16:50:03 +0000
"Laurent Bercot" <ska-supervis...@skarnet.org> wrote:

>   If your question was about the mechanism of wrapping runsv:
>   mv /bin/runsv /bin/runsv.real
>   cat > /bin/runsv <<EOF
> #!/bin/sh
> exec local-reaper /bin/runsv.real "$@"
> chmod 755 /bin/runsv

Or put your script as /usr/local/bin/runsv (assuming /usr/local/bin is
in your PATH ofc) so the original runsv is left untouched, which is
nice (I feel), and certainly better when using a package manager.

>   Of course, the best solution is still to do nothing and forget that
> subreapers are even a thing. (And also to switch to s6. :P)
> --
>   Laurent

Reply via email to