blob: e0f18127ba6e93cb8b42d70b704ef92ff88de3c1 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>system-init</title>
<meta name="Description" content="A wrapper around s6-linux-init to start it with the correct options for goetia." />
<meta name="Keywords" content="goetia s6 s6-rc s6-linux-init Linux init" />
</head>
<header>
<p>
<a href="//0x53.net/software/goetia/goetia-s6-linux-init">goetia-s6-linux-init</a>
<br />
<a href="//0x53.net/software/goetia">goetia</a>
<br />
<a href="//0x53.net/software">Software</a>
<br />
<a href="//0x53.net">0x53.net</a>
</p>
</header>
<body>
<h1>The system-init program</h1>
<p>
system-init is a wrapper around
<a href="https://skarnet.org/software/s6-linux-init/s6-linux-init.html">s6-linux-init</a>.
</p>
<h2>Interface</h2>
<pre> system-init</pre>
<ul>
<li>
system-init takes no arguments.
</li>
<li> It executes s6-linux-init with proper arguments to:
<ul>
<li>
Use the umask <code>0022</code>.
</li>
<li>
Use the config at <code>/etc/s6-linux-init/goetia</code>
</li>
<li>
Use the <code>PATH</code> environment variable set to
<code>/command:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/libexec:/usr/local/libexec</code>.
</li>
</ul>
</li>
</ul>
<h2>Exit codes</h2>
<ul>
<li>
system-init does nothing more than starting
<a href="https://skarnet.org/software/s6-linux-init/s6-linux-init.html">s6-linux-init</a>
with arguments
and behaves exactly like it.
</li>
<li>
See also:
<a href="https://skarnet.org/software/execline/exitcodes.html">execline exit code handling</a>.
</li>
</ul>
<h2>Options</h2>
<ul>
<li>
There are no options to system-init.
</li>
</ul>
<h2>Notes</h2>
<p>
system-init is primarily intended to be used
as an init for an acutal boot process, not for containers.
</p>
</body>
</html>
|