From b750101eb236130cf056c675997decbac904cc49 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:35:18 +0200 Subject: Adding upstream version 252.22. Signed-off-by: Daniel Baumann --- man/systemd-rc-local-generator.xml | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 man/systemd-rc-local-generator.xml (limited to 'man/systemd-rc-local-generator.xml') diff --git a/man/systemd-rc-local-generator.xml b/man/systemd-rc-local-generator.xml new file mode 100644 index 0000000..f0e38ea --- /dev/null +++ b/man/systemd-rc-local-generator.xml @@ -0,0 +1,72 @@ + + +%entities; +]> + + + + + systemd-rc-local-generator + systemd + + + + systemd-rc-local-generator + 8 + + + + systemd-rc-local-generator + rc-local.service + Compatibility generator and service to start &RC_LOCAL_PATH; during boot + + + + /usr/lib/systemd/system-generators/systemd-rc-local-generator + rc-local.service + + + + Description + + systemd-rc-local-generator is a generator that checks whether + &RC_LOCAL_PATH; exists and is executable, and if it is, pulls the + rc-local.service unit into the boot process. This unit is responsible for running + this script during late boot. The script is run after network.target, but in + parallel with most other regular system services. + + Note that rc-local.service runs with slightly different semantics than the + original System V version, which was executed "last" in the boot process, which is a concept that does + not translate to systemd. + + Also note that rc-local.service is ordered after + network.target, which does not mean that the network is functional, see + systemd.special7. + If the script requires a configured network connection, it may be desirable to pull in and order it after + network-online.target with a drop-in: + + # /etc/systemd/system/rc-local.service.d/network.conf +[Unit] +Wants=network-online.target +After=network-online.target + + + Support for &RC_LOCAL_PATH; is provided for compatibility with specific System + V systems only. However, it is strongly recommended to avoid making use of this script today, and instead + provide proper unit files with appropriate dependencies for any scripts to run during the boot process. + Note that the path to the script is set at compile time and varies between distributions. + + systemd-rc-local-generator implements + systemd.generator7. + + + + See Also + + systemd1, + systemctl1 + + + -- cgit v1.2.3