blob: be3cc4f7f7f5244243acc25aa5ea2107e5dbc351 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
<title>s6-portable-utils: the s6-pause program</title>
<meta name="Description" content="s6-portable-utils: the s6-pause program" />
<meta name="Keywords" content="s6-portable-utils command s6-pause pause" />
<!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
</head>
<body>
<p>
<a href="index.html">s6-portable-utils</a><br />
<a href="//skarnet.org/software/">Software</a><br />
<a href="//skarnet.org/">skarnet.org</a>
</p>
<h1> The <tt>s6-pause</tt> program </h1>
<p>
s6-pause blocks until it is killed.
</p>
<h2> Interface </h2>
<pre>
s6-pause [ -t ] [ -h ] [ -a ] [ -q ] [ -b ] [ -i ] [ -p <em>signals</em> ]
</pre>
<h2> Options </h2>
<ul>
<li> <tt>-t</tt> : ignore SIGTERM </li>
<li> <tt>-h</tt> : ignore SIGHUP </li>
<li> <tt>-a</tt> : ignore SIGALRM </li>
<li> <tt>-q</tt> : ignore SIGQUIT </li>
<li> <tt>-b</tt> : ignore SIGABRT </li>
<li> <tt>-i</tt> : ignore SIGINT </li>
<li> <tt>-p <em>signals</em></tt> : ignore the signals
listed in <em>signals</em>, which must be a comma-separated list of
signal numbers. </li>
</ul>
<h2> Usage notes </h2>
<ul>
<li> s6-pause is one of the smallest possible long-lived programs. It uses
as few resources as the kernel will allow. </li>
<li> The options can be used to wait for a specific signal without being
killed by others. </li>
</ul>
</body>
</html>
|