summary refs log tree commit diff
path: root/scripts/sandman.1
blob: 35765ec1ca13512c4bd773adbc15f38a0bc375b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
Jason A. Donenfeld 2014-01-17ui-shared: move about tab all the way to the leftJason A. Donenfeld 2014-01-17filter: don't forget to reap the auth filterJason A. Donenfeld 2014-01-17cgit.c: free tmp variableJason A. Donenfeld 2014-01-17Switch to exclusively using global ctxLukas Fleischer 2014-01-16auth: have cgit calculate login addressJason A. Donenfeld 2014-01-16auth: lua string comparisons are time invariantJason A. Donenfeld 2014-01-16authentication: use hidden form instead of refererJason A. Donenfeld 2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld 2014-01-16t0111: Additions and fixesLukas Fleischer 2014-01-16parsing.c: Remove leading space from committerLukas Fleischer