From: Zbigniew Jędrzejewski-Szmek Date: Mon, 27 Sep 2021 06:43:10 +0000 (+0200) Subject: man: refresh description of sysvinit compat for services X-Git-Tag: v250-rc1~618^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18c7a1eb6c7ede7255309d71a28b995d86de9444;p=thirdparty%2Fsystemd.git 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". --- diff --git a/man/systemd-sysv-generator.xml b/man/systemd-sysv-generator.xml index 14ab932fedb..e9f318b5492 100644 --- a/man/systemd-sysv-generator.xml +++ b/man/systemd-sysv-generator.xml @@ -31,7 +31,7 @@ that creates wrapper .service units for SysV init scripts in /etc/init.d/* at boot and when - configuration of the system manager is reloaded. This will allow + configuration of the system manager is reloaded. This allows systemd1 to support them similarly to native units. @@ -46,6 +46,10 @@ systemd.special7 for more details. + Note that compatibility is quite comprehensive but not 100%, for more details see Incompatibilities with + SysV. + SysV runlevels have corresponding systemd targets (runlevelX.target). 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 884260a2159..1745dbb49b6 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. - 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 .service 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 Incompatibilities - with SysV document. + 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 .service + suffix added); see + systemd-sysv-generator8. + The systemd-run1 command allows creating .service and .scope units dynamically