diff options
Diffstat (limited to 'sandman.1')
-rw-r--r-- | sandman.1 | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/sandman.1 b/sandman.1 index bd68874..92828c0 100644 --- a/sandman.1 +++ b/sandman.1 @@ -1,30 +1,36 @@ -.Dd July 2, 2019 +.Dd February 12, 2020 .Dt SANDMAN 1 .Os . .Sh NAME .Nm sandman -.Nd signal sleep +.Nd sleep wrapper . .Sh SYNOPSIS .Nm +.Op Fl t Ar secs .Ar command ... . .Sh DESCRIPTION +The .Nm -is a utility for Darwin systems. -It runs the -.Ar command -as a child process. -When the system goes to sleep, -the process is sent -.Dv SIGHUP . -When the system wakes up, -the process is restarted. +utility wraps a +.Ar command , +sending it +.Dv SIGHUP +when the system goes to sleep, +and restarting it +when the system wakes. . -.Sh EXIT STATUS -.Nm -exits with the exit status of the child process. +.Pp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl t Ar secs +Wait for +.Ar secs +before restarting the process. +The default is 8 seconds. +.El . -.Sh SEE ALSO -.Xr signal 3 +.Sh AUTHORS +.An June McEnroe Aq Mt june@causal.agency |