summaryrefslogtreecommitdiff
path: root/doc/s6-pause.html
blob: 3e0cbf87da3e960011d65468c3bba5adc82b4b65 (plain)
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
<html>
  <head>
    <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="http://skarnet.org/default.css" /> -->
  </head>
<body>

<p>
<a href="index.html">s6-portable-utils</a><br />
<a href="http://skarnet.org/software/">Software</a><br />
<a href="http://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>&nbsp;: ignore SIGTERM </li>
 <li> <tt>-h</tt>&nbsp;: ignore SIGHUP </li>
 <li> <tt>-a</tt>&nbsp;: ignore SIGALRM </li>
 <li> <tt>-q</tt>&nbsp;: ignore SIGQUIT </li>
 <li> <tt>-b</tt>&nbsp;: ignore SIGABRT </li>
 <li> <tt>-i</tt>&nbsp;: ignore SIGINT </li>
 <li> <tt>-p&nbsp;<em>signals</em></tt>&nbsp;: 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>