mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-08 01:36:43 +00:00
Instead of tracking git upstream directly, the upstream branch now contains the contents of the orig tarball available at http://www.freedesktop.org/software/systemd/
70 lines
7.5 KiB
HTML
70 lines
7.5 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>telinit</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
|
|
a.headerlink {
|
|
color: #c60f0f;
|
|
font-size: 0.8em;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: #c60f0f;
|
|
color: white;
|
|
}
|
|
|
|
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
|
|
visibility: visible;
|
|
}
|
|
</style><a href="index.html">Index </a>·
|
|
<a href="systemd.directives.html">Directives </a>·
|
|
<a href="../python-systemd/index.html">Python </a>·
|
|
<a href="../libudev/index.html">libudev </a>·
|
|
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 204</span><hr><div class="refentry"><a name="telinit"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>telinit — Change SysV runlevel</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">telinit [OPTIONS...] {COMMAND}</code> </p></div></div><div class="refsect1"><a name="idm259774643040"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><span class="command"><strong>telinit</strong></span> may be used to change
|
|
the SysV system runlevel. Since the concept of SysV
|
|
runlevels is obsolete the runlevel requests
|
|
will be transparently translated into systemd unit
|
|
activation requests.</p></div><div class="refsect1"><a name="idm259771096928"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><p>The following options are understood:</p><div class="variablelist"><dl class="variablelist"><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd><p>Prints a short help
|
|
text and exits.</p></dd><dt id="--no-wall"><span class="term"><code class="option">--no-wall</code></span><a class="headerlink" title="Permalink to this term" href="#--no-wall">¶</a></dt><dd><p>Don't send wall
|
|
message before
|
|
reboot/halt/power-off.</p></dd></dl></div><p>The following commands are understood:</p><div class="variablelist"><dl class="variablelist"><dt id="0"><span class="term"><span class="command"><strong>0</strong></span></span><a class="headerlink" title="Permalink to this term" href="#0">¶</a></dt><dd><p>Power-off the
|
|
machine. This is translated into an
|
|
activation request for
|
|
<code class="filename">poweroff.target</code>
|
|
and is equivalent to
|
|
<span class="command"><strong>systemctl
|
|
poweroff</strong></span>.</p></dd><dt id="6"><span class="term"><span class="command"><strong>6</strong></span></span><a class="headerlink" title="Permalink to this term" href="#6">¶</a></dt><dd><p>Reboot the
|
|
machine. This is translated into an
|
|
activation request for
|
|
<code class="filename">reboot.target</code> and
|
|
is equivalent to <span class="command"><strong>systemctl
|
|
reboot</strong></span>.</p></dd><dt id="2"><span class="term"><span class="command"><strong>2</strong></span>, </span><span class="term"><span class="command"><strong>3</strong></span>, </span><span class="term"><span class="command"><strong>4</strong></span>, </span><span class="term"><span class="command"><strong>5</strong></span></span><a class="headerlink" title="Permalink to this term" href="#2">¶</a></dt><dd><p>Change the SysV
|
|
runlevel. This is translated into an
|
|
activation request for
|
|
<code class="filename">runlevel2.target</code>,
|
|
<code class="filename">runlevel3.target</code>,
|
|
... and is equivalent to
|
|
<span class="command"><strong>systemctl isolate
|
|
runlevel2.target</strong></span>,
|
|
<span class="command"><strong>systemctl isolate
|
|
runlevel3.target</strong></span>,
|
|
...</p></dd><dt id="1"><span class="term"><span class="command"><strong>1</strong></span>, </span><span class="term"><span class="command"><strong>s</strong></span>, </span><span class="term"><span class="command"><strong>S</strong></span></span><a class="headerlink" title="Permalink to this term" href="#1">¶</a></dt><dd><p>Change into system
|
|
rescue mode. This is translated into
|
|
an activation request for
|
|
<code class="filename">rescue.target</code> and
|
|
is equivalent to <span class="command"><strong>systemctl
|
|
rescue</strong></span>.</p></dd><dt id="q"><span class="term"><span class="command"><strong>q</strong></span>, </span><span class="term"><span class="command"><strong>Q</strong></span></span><a class="headerlink" title="Permalink to this term" href="#q">¶</a></dt><dd><p>Reload daemon
|
|
configuration. This is equivalent to
|
|
<span class="command"><strong>systemctl
|
|
daemon-reload</strong></span>.</p></dd><dt id="u"><span class="term"><span class="command"><strong>u</strong></span>, </span><span class="term"><span class="command"><strong>U</strong></span></span><a class="headerlink" title="Permalink to this term" href="#u">¶</a></dt><dd><p>Serialize state,
|
|
reexecute daemon and deserialize state
|
|
again. This is equivalent to
|
|
<span class="command"><strong>systemctl
|
|
daemon-reexec</strong></span>.</p></dd></dl></div></div><div class="refsect1"><a name="idm259774728864"></a><h2 id="Exit status">Exit status<a class="headerlink" title="Permalink to this headline" href="#Exit%20status">¶</a></h2><p>On success 0 is returned, a non-zero failure
|
|
code otherwise.</p></div><div class="refsect1"><a name="idm259774727680"></a><h2 id="Notes">Notes<a class="headerlink" title="Permalink to this headline" href="#Notes">¶</a></h2><p>This is a legacy command available for compatibility
|
|
only. It should not be used anymore, as the concept of
|
|
runlevels is obsolete.</p></div><div class="refsect1"><a name="idm259774719424"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
|
|
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
|
|
<a href="systemctl.html"><span class="citerefentry"><span class="refentrytitle">systemctl</span>(1)</span></a>,
|
|
<a href="wall.html"><span class="citerefentry"><span class="refentrytitle">wall</span>(1)</span></a>
|
|
</p></div></div></body></html>
|