2019-07-02 22:04:27 +00:00
|
|
|
.Dd July 2, 2019
|
2018-11-30 20:41:21 +00:00
|
|
|
.Dt SANDMAN 1
|
2018-12-02 23:12:45 +00:00
|
|
|
.Os
|
2018-11-30 20:41:21 +00:00
|
|
|
.
|
|
|
|
.Sh NAME
|
|
|
|
.Nm sandman
|
|
|
|
.Nd signal sleep
|
|
|
|
.
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Ar command ...
|
|
|
|
.
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
is a utility for Darwin systems.
|
2018-12-02 23:12:45 +00:00
|
|
|
It runs the
|
2018-11-30 20:41:21 +00:00
|
|
|
.Ar command
|
2019-07-02 22:04:27 +00:00
|
|
|
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.
|
2018-11-30 20:41:21 +00:00
|
|
|
.
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Nm
|
|
|
|
exits with the exit status of the child process.
|
|
|
|
.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr signal 3
|