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 "$@" EOF chmod 755 /bin/runsv 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
