man-pages/man8/systemd-sysv-generator.8.html
2021-03-31 01:06:50 +01:00

120 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SYSTEMD-SYSV-GENERATOR</TITLE>
</HEAD><BODY>
<H1>SYSTEMD-SYSV-GENERATOR</H1>
Section: systemd-sysv-generator (8)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
systemd-sysv-generator - Unit generator for SysV init scripts
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
/lib/systemd/system-generators/systemd-sysv-generator
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
systemd-sysv-generator
is a generator that creates wrapper .service units for
m[blue]<B>SysV init</B>m[]<FONT SIZE="-2">[1]</FONT>
scripts in
/etc/init.d/*
at boot and when configuration of the system manager is reloaded. This will allow
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1)
to support them similarly to native units.
<P>
m[blue]<B>LSB headers</B>m[]<FONT SIZE="-2">[2]</FONT>
in SysV init scripts are interpreted, and the ordering specified in the header is turned into dependencies between the generated unit and other units. The LSB facilities
&quot;$remote_fs&quot;,
&quot;$network&quot;,
&quot;$named&quot;,
&quot;$portmap&quot;,
&quot;$time&quot;
are supported and will be turned into dependencies on specific native systemd targets. See
<B><A HREF="/cgi-bin/man/man2html?7+systemd.special">systemd.special</A></B>(7)
for more details.
<P>
SysV runlevels have corresponding systemd targets (runlevel<I>X</I>.target). The wrapper unit that is generated will be wanted by those targets which correspond to runlevels for which the script is enabled.
<P>
<B>systemd</B>
does not support SysV scripts as part of early boot, so all wrapper units are ordered after
basic.target.
<P>
systemd-sysv-generator
implements
<B><A HREF="/cgi-bin/man/man2html?7+systemd.generator">systemd.generator</A></B>(7).
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+systemd.service">systemd.service</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+systemd.target">systemd.target</A></B>(5)
<A NAME="lbAF">&nbsp;</A>
<H2>NOTES</H2>
<DL COMPACT>
<DT id="1"> 1.<DD>
SysV init
<DL COMPACT><DT id="2"><DD>
<A HREF="https://savannah.nongnu.org/projects/sysvinit">https://savannah.nongnu.org/projects/sysvinit</A>
</DL>
<DT id="3"> 2.<DD>
LSB headers
<DL COMPACT><DT id="4"><DD>
<A HREF="http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html">http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html</A>
</DL>
<P>
</DL>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="9"><A HREF="#lbAF">NOTES</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:17 GMT, March 31, 2021
</BODY>
</HTML>