]> git.proxmox.com Git - systemd.git/blob - man/systemd-sysv-generator.html
Imported Upstream version 219
[systemd.git] / man / systemd-sysv-generator.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-sysv-generator</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
2 a.headerlink {
3 color: #c60f0f;
4 font-size: 0.8em;
5 padding: 0 4px 0 4px;
6 text-decoration: none;
7 visibility: hidden;
8 }
9
10 a.headerlink:hover {
11 background-color: #c60f0f;
12 color: white;
13 }
14
15 h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
16 visibility: visible;
17 }
18 </style><a href="index.html">Index </a>·
19 <a href="systemd.directives.html">Directives </a>·
20 <a href="../python-systemd/index.html">Python </a>·
21 <a href="../libudev/index.html">libudev </a>·
22 <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 219</span><hr><div class="refentry"><a name="systemd-sysv-generator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-sysv-generator — Unit generator for SysV init scripts</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/usr/lib/systemd/system-generators/systemd-sysv-generator</code></p></div><div class="refsect1"><a name="idm140482621215952"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description"></a></h2><p><code class="filename">systemd-sysv-generator</code> is a generator
23 that creates wrapper .service units for
24 <a class="ulink" href="https://savannah.nongnu.org/projects/sysvinit" target="_top">SysV init</a>
25 scripts in <code class="filename">/etc/init.d/*</code> at boot and when
26 configuration of the system manager is reloaded. This will allow
27 <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>
28 to support them similarly to native units.</p><p><a class="ulink" href="http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html" target="_top">LSB headers</a>
29 in SysV init scripts are interpreted, and the ordering specified
30 in the header is turned into dependencies between the generated
31 unit and other units. LSB facilities
32 "<code class="literal">$remote_fs</code>", "<code class="literal">$network</code>",
33 "<code class="literal">$named</code>", "<code class="literal">$portmap</code>",
34 "<code class="literal">$time</code>" are supported and will be turned into
35 dependencies on specific native systemd targets. See
36 <a href="systemd.special.html"><span class="citerefentry"><span class="refentrytitle">systemd.special</span>(5)</span></a>
37 for more details.</p><p>SysV runlevels have corresponding systemd targets
38 (<code class="filename">runlevel<em class="replaceable"><code>X</code></em>.target</code>).
39 Wrapper unit that is generated will be wanted by those targets
40 which correspond to runlevels for which the script is
41 enabled.</p><p><span class="command"><strong>systemd</strong></span> does not supports SysV scripts as
42 part of early boot, so all wrapper units are ordered after
43 <code class="filename">basic.target</code>.</p><p><code class="filename">systemd-sysv-generator</code>
44 implements the <a class="ulink" href="http://www.freedesktop.org/wiki/Software/systemd/Generators" target="_top">generator
45 specification</a>.</p></div><div class="refsect1"><a name="idm140482621304272"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also"></a></h2><p>
46 <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
47 <a href="systemd.service.html"><span class="citerefentry"><span class="refentrytitle">systemd.service</span>(5)</span></a>,
48 <a href="systemd.target.html"><span class="citerefentry"><span class="refentrytitle">systemd.target</span>(5)</span></a>
49 </p></div></div></body></html>