]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: Correct WantedBy= regarding template units
authorMax Gautier <mg@max.gautier.name>
Sun, 13 Feb 2022 14:16:05 +0000 (15:16 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Feb 2022 15:54:11 +0000 (16:54 +0100)
man/systemd.unit.xml

index 7b4bd44f2639dcb38f5ac1dc0240929ccd802e05..b36f36be7eae0dd7f6419348a763e46bafc643b8 100644 (file)
         <para><command>WantedBy=foo.service</command> in a service
         <filename>bar.service</filename> is mostly equivalent to
         <command>Alias=foo.service.wants/bar.service</command> in the
-        same file. In case of template units, <command>systemctl
-        enable</command> must be called with an instance name, and
-        this instance will be added to the
+        same file. In case of template units listing non template units,
+        <command>systemctl enable</command> must be called with an
+        instance name, and this instance will be added to the
         <filename>.wants/</filename> or
         <filename>.requires/</filename> list of the listed unit. E.g.
         <command>WantedBy=getty.target</command> in a service