systemd/0179-docs-Correct-WantedBy-regarding-template-units.patch
Jan Macku 0daf48d9aa systemd-250-8
Resolves: #2047682,#2068043,#2068131,#2073003,#2073994,#2082131,#2083493,#2087652,#2100340
2022-07-20 08:37:23 +02:00

30 lines
1.3 KiB
Diff

From 3e2830ddce4474efb403914e910de2943a2a6bd0 Mon Sep 17 00:00:00 2001
From: Max Gautier <mg@max.gautier.name>
Date: Sun, 13 Feb 2022 15:16:05 +0100
Subject: [PATCH] docs: Correct WantedBy= regarding template units
(cherry picked from commit f55fe53ffce351bb55b6190cf36511c37f99d766)
Related: #2082131
---
man/systemd.unit.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 4ba602b5ad..2e6261c1ed 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1922,9 +1922,9 @@
<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