From: Alan Jenkins Date: Tue, 8 May 2018 14:53:41 +0000 (+0100) Subject: man/systemd.special: fix network v.s. LSB scripts (#8930) X-Git-Tag: v239~302 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c88cbeed42867841ee53d49dd558c45615a5549;p=thirdparty%2Fsystemd.git man/systemd.special: fix network v.s. LSB scripts (#8930) $network is converted to network-online.target, not network-target. See https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ and the implementation at `src/sysv-generator/sysv-generator.c`. --- diff --git a/man/systemd.special.xml b/man/systemd.special.xml index b6ac433f9c8..23be82d9d28 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -455,6 +455,10 @@ functionality to other hosts generally do not need to pull this in. + systemd automatically adds dependencies of type Wants= and After= + for this target unit to all SysV init script service units with an LSB header referring to the + $network facility. + Note that this unit is only useful during the original system start-up logic. After the system has completed booting up, it will not track the online state of the system anymore. Due to this it cannot be used as a network connection monitor concept, it is purely a one-time system start-up concept. @@ -846,11 +850,6 @@ information. Also see network-online.target described above. - - systemd automatically adds dependencies of type - After= for this target unit to all SysV - init script service units with an LSB header referring to - the $network facility.