Re: register runsvdir as subreaper

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Thu, 02 Feb 2017 16:50:03 +0000

  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 "$_at_"
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
Received on Thu Feb 02 2017 - 16:50:03 UTC

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