catgirl/scripts/sandman.1

37 lines
490 B
Groff
Raw Normal View History

2020-02-13 02:31:09 +00:00
.Dd February 12, 2020
.Dt SANDMAN 1
.Os
.
.Sh NAME
.Nm sandman
.Nd sleep wrapper
.
.Sh SYNOPSIS
.Nm
.Op Fl t Ar secs
.Ar command ...
.
.Sh DESCRIPTION
The
.Nm
utility wraps a
.Ar command ,
sending it
.Dv SIGHUP
when the system goes to sleep,
and restarting it
when the system wakes.
.
.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 AUTHORS
2022-07-30 18:29:04 +00:00
.An June McEnroe Aq Mt june@causal.agency