summary refs log tree commit diff
path: root/scripts/sandman.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-12 21:31:09 -0500
committerJune McEnroe <june@causal.agency>2020-02-12 21:31:09 -0500
commit9bed890aa889dad4c46b6d18fff8cbdac9feab1a (patch)
treed408ff3884efc17c440bec56ee8311aecaecbc62 /scripts/sandman.1
parentDocument scripts in README (diff)
downloadcatgirl-9bed890aa889dad4c46b6d18fff8cbdac9feab1a.tar.gz
catgirl-9bed890aa889dad4c46b6d18fff8cbdac9feab1a.zip
Add sandman wrapper
Diffstat (limited to 'scripts/sandman.1')
-rw-r--r--scripts/sandman.136
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/sandman.1 b/scripts/sandman.1
new file mode 100644
index 0000000..35765ec
--- /dev/null
+++ b/scripts/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 Bug Aq Mt june@causal.agency
efile?h=1.9&id=a0ff0d5c46d439341d2d135a9864a9e5f8ff9055&follow=1'>Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe Ridiculous. 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe