summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-09-27 08:43:10 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-09-27 09:19:02 +0200
commit18c7a1eb6c7ede7255309d71a28b995d86de9444 (patch)
tree8fcee7494a7a84274fe440c812b9cab484766fc8
parentman: minor grammar fixups in systemd-cryptenroll (diff)
downloadsystemd-18c7a1eb6c7ede7255309d71a28b995d86de9444.tar.xz
systemd-18c7a1eb6c7ede7255309d71a28b995d86de9444.zip
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".
-rw-r--r--man/systemd-sysv-generator.xml6
-rw-r--r--man/systemd.service.xml14
2 files changed, 10 insertions, 10 deletions
diff --git a/man/systemd-sysv-generator.xml b/man/systemd-sysv-generator.xml
index 14ab932fed..e9f318b549 100644
--- a/man/systemd-sysv-generator.xml
+++ b/man/systemd-sysv-generator.xml
@@ -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
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 884260a215..1745dbb49b 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -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