about summary refs log tree commit diff
path: root/sandman.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-07-09 21:08:01 -0400
committerJune McEnroe <june@causal.agency>2023-07-09 21:08:01 -0400
commit8274be77a0b01f3e29bd1137be77d82077c038a3 (patch)
treedbc96885e2e0fe7aa2dcff6c75e1ec4f81bfe5a7 /sandman.1
parentFix README files list (diff)
downloadcatgirl-8274be77a0b01f3e29bd1137be77d82077c038a3.tar.gz
catgirl-8274be77a0b01f3e29bd1137be77d82077c038a3.zip
Move sandman to top-level, add --enable-sandman 2.2
Diffstat (limited to 'sandman.1')
-rw-r--r--sandman.136
1 files changed, 36 insertions, 0 deletions
diff --git a/sandman.1 b/sandman.1
new file mode 100644
index 0000000..92828c0
--- /dev/null
+++ b/sandman.1
@@ -0,0 +1,36 @@
+.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
+.An June McEnroe Aq Mt june@causal.agency