mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
man: refresh description of sysvinit compat for services
The existing text must have been written before systemd-sysv-generator was created. We don't create the wrappers dynamically since a long time. Also add more links and make the description conditional on "if compat is enabled".
This commit is contained in:
parent
880e1e0729
commit
18c7a1eb6c
@ -31,7 +31,7 @@
|
||||
that creates wrapper .service units for
|
||||
<ulink url="https://savannah.nongnu.org/projects/sysvinit">SysV init</ulink>
|
||||
scripts in <filename>/etc/init.d/*</filename> at boot and when
|
||||
configuration of the system manager is reloaded. This will allow
|
||||
configuration of the system manager is reloaded. This allows
|
||||
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
|
||||
to support them similarly to native units.</para>
|
||||
|
||||
@ -46,6 +46,10 @@
|
||||
<citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>
|
||||
for more details.</para>
|
||||
|
||||
<para>Note that compatibility is quite comprehensive but not 100%, for more details see <ulink
|
||||
url="https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities">Incompatibilities with
|
||||
SysV</ulink>.</para>
|
||||
|
||||
<para>SysV runlevels have corresponding systemd targets
|
||||
(<filename>runlevel<replaceable>X</replaceable>.target</filename>).
|
||||
The wrapper unit that is generated will be wanted by those targets
|
||||
|
@ -50,15 +50,11 @@
|
||||
which configure resource control settings for the processes of the
|
||||
service.</para>
|
||||
|
||||
<para>If a service is requested under a certain name but no unit
|
||||
configuration file is found, systemd looks for a SysV init script
|
||||
by the same name (with the <filename>.service</filename> suffix
|
||||
removed) and dynamically creates a service unit from that script.
|
||||
This is useful for compatibility with SysV. Note that this
|
||||
compatibility is quite comprehensive but not 100%. For details
|
||||
about the incompatibilities, see the <ulink
|
||||
url="https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities">Incompatibilities
|
||||
with SysV</ulink> document.</para>
|
||||
<para>If SysV init compat is enabled, systemd automatically creates service units that wrap SysV init
|
||||
scripts (the service name is the same as the name of the script, with a <literal>.service</literal>
|
||||
suffix added); see
|
||||
<citerefentry><refentrytitle>systemd-sysv-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
||||
</para>
|
||||
|
||||
<para>The <citerefentry><refentrytitle>systemd-run</refentrytitle><manvolnum>1</manvolnum></citerefentry>
|
||||
command allows creating <filename>.service</filename> and <filename>.scope</filename> units dynamically
|
||||
|
Loading…
x
Reference in New Issue
Block a user