From deec27410ab96b001ea97610ffe1512dcb14643f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 30 Nov 2018 15:41:21 -0500 Subject: Add sandman --- sandman.1 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 sandman.1 (limited to 'sandman.1') diff --git a/sandman.1 b/sandman.1 new file mode 100644 index 0000000..1cd0583 --- /dev/null +++ b/sandman.1 @@ -0,0 +1,34 @@ +.Dd November 30, 2018 +.Dt SANDMAN 1 +.Os "Causal Agency" +. +.Sh NAME +.Nm sandman +.Nd signal sleep +. +.Sh SYNOPSIS +.Nm +.Ar command ... +. +.Sh DESCRIPTION +.Nm +is a utility for Darwin systems. +.Nm +runs the +.Ar command +in a child process +and sends it +.Dv SIGTSTP +and +.Dv SIGCONT +signals +when the computer goes to sleep +and wakes from sleep, +respectively. +. +.Sh EXIT STATUS +.Nm +exits with the exit status of the child process. +. +.Sh SEE ALSO +.Xr signal 3 -- cgit 1.4.1-2-gfad0