teknoraver / rpms / systemd

Forked from rpms/systemd a month ago
Clone

Blame SOURCES/0179-docs-Correct-WantedBy-regarding-template-units.patch

594167
From 3e2830ddce4474efb403914e910de2943a2a6bd0 Mon Sep 17 00:00:00 2001
594167
From: Max Gautier <mg@max.gautier.name>
594167
Date: Sun, 13 Feb 2022 15:16:05 +0100
594167
Subject: [PATCH] docs: Correct WantedBy= regarding template units
594167
594167
(cherry picked from commit f55fe53ffce351bb55b6190cf36511c37f99d766)
594167
594167
Related: #2082131
594167
---
594167
 man/systemd.unit.xml | 6 +++---
594167
 1 file changed, 3 insertions(+), 3 deletions(-)
594167
594167
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
594167
index 4ba602b5ad..2e6261c1ed 100644
594167
--- a/man/systemd.unit.xml
594167
+++ b/man/systemd.unit.xml
594167
@@ -1922,9 +1922,9 @@
594167
         <para><command>WantedBy=foo.service</command> in a service
594167
         <filename>bar.service</filename> is mostly equivalent to
594167
         <command>Alias=foo.service.wants/bar.service</command> in the
594167
-        same file. In case of template units, <command>systemctl
594167
-        enable</command> must be called with an instance name, and
594167
-        this instance will be added to the
594167
+        same file. In case of template units listing non template units,
594167
+        <command>systemctl enable</command> must be called with an
594167
+        instance name, and this instance will be added to the
594167
         <filename>.wants/</filename> or
594167
         <filename>.requires/</filename> list of the listed unit. E.g.
594167
         <command>WantedBy=getty.target</command> in a service