aboutsummaryrefslogtreecommitdiffstats
path: root/pdeath.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-17 20:11:30 +0200
committerMattias Andrée <maandree@kth.se>2017-10-17 20:11:30 +0200
commita568a539bbbe387cef14185488a75e8d3825c68b (patch)
tree06ecb3bd0ec4e328ed6ad63a49de0f23c9b3f7fc /pdeath.1
parentMakefile: fix uninstall rule: uninstall license (diff)
downloadpdeath-a568a539bbbe387cef14185488a75e8d3825c68b.tar.gz
pdeath-a568a539bbbe387cef14185488a75e8d3825c68b.tar.bz2
pdeath-a568a539bbbe387cef14185488a75e8d3825c68b.tar.xz
Simplify
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'pdeath.1')
-rw-r--r--pdeath.127
1 files changed, 27 insertions, 0 deletions
diff --git a/pdeath.1 b/pdeath.1
new file mode 100644
index 0000000..d61bfdc
--- /dev/null
+++ b/pdeath.1
@@ -0,0 +1,27 @@
+.TH PDEATH 1 PDEATH
+.SH NAME
+pdeath \- Run a command that is killed when its parent exits
+.SH SYNOPSIS
+.B pdeath
+(-L |
+.RB \fIsignal\fP[( + | - )\fIoff\fP]
+.I command
+.RI [ argument ]\ ...)
+.SH DESCRIPTION
+.B pdeath
+runs the select command with the parent death signal set to
+.I signal
+plus or minus
+.IR off .
+This means that the process receives this signal when its
+parent process dies.
+.SH OPTIONS
+.TP
+.B \-L
+List all signals.
+.SH LIMITATIONS
+.B pdeath
+cannot be used on binaries with set-user-ID or set-group-ID set.
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >