From: Max Gautier Date: Sun, 13 Feb 2022 14:16:05 +0000 (+0100) Subject: docs: Correct WantedBy= regarding template units X-Git-Tag: v251-rc1~287 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f55fe53ffce351bb55b6190cf36511c37f99d766;p=thirdparty%2Fsystemd.git docs: Correct WantedBy= regarding template units --- diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 7b4bd44f263..b36f36be7ea 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1894,9 +1894,9 @@ WantedBy=foo.service in a service bar.service is mostly equivalent to Alias=foo.service.wants/bar.service in the - same file. In case of template units, systemctl - enable 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, + systemctl enable must be called with an + instance name, and this instance will be added to the .wants/ or .requires/ list of the listed unit. E.g. WantedBy=getty.target in a service