diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2025-01-19 15:16:02 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2025-01-19 15:16:02 -0800 |
commit | ba3653f6e500f32385f766e308264357631db8b5 (patch) | |
tree | d31e3823998d9801ed165c8a4db42d7cd2d86167 /src/context.h | |
parent | 3a29d7bc88ab258e1a864f1932ba08380199125c (diff) |
vmon: introduce -R/--reaper flag
Beginnings of PR_SET_CHILD_SUBREAPER mode, this only adds the
CLI flags.
Becoming a subreaper is only relevant to running commands via
vmon. If the commands being executed fork/exec/daemonize or
otherwise may produce orphaned processes, they escape the
scoped hierarchical monitoring when init inherits them, so you
lose visibility into their actions once orphaned.
By becoming a subreaper, vmon can be the process inheriting those
orphans, so they may continue being monitored, as if vmon were
init, for its descendants.
Diffstat (limited to 'src/context.h')
0 files changed, 0 insertions, 0 deletions