From afc2c86548950f98ab5cc2e4c3f9de39b6cb9b89 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Nov 2015 09:27:55 +0100 Subject: improve readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/README b/README index bf7f302..38fc05d 100644 --- a/README +++ b/README @@ -1,9 +1,29 @@ -This daemon spawns a process and reaps all orphaned -grandchildren. This is useful if you want to keep -your process tree clean. For instance if you want -all programs started from inside the same display -server instance to appear to be inside that display -if you look inside the process tree, rather than all -processes that loses their parent being reparented -to PID 1 and make a mess on your process tree. +NAME + orphan-reaper - Keep your process tree clean. + +SYNOPSIS + orphan-reaper [--fatal] [--] COMMAND... + +DESCRIPTION + This user daemon spawns a process and reaps all orphaned + grandchildren. This is useful if you want to keep your + process tree clean. For instance if you want all programs + started from inside the same display server instance to + appear to be inside that display if you look inside the + process tree, rather than all processes that loses their + parent being reparented to PID 1 and make a mess on your + process tree. + +OPTIONS + --fatal + Fail if the process cannot become a subreaper. + +RATIONALE + It is really nice to have a processes that are running + inside a display server to be a grandchild of the + display server, rather than being reparanted to PID 1. + Especially when multiple display servers are running. + +SEE ALSO + prctl(2) -- cgit v1.2.3-70-g09d2