Skip to content

Commit 4fab984

Browse files
RadxaYuntianbluca
authored andcommitted
man: fix typo in the alias symlink name
Symlink created by Alias will use the value as the file name. (cherry picked from commit 3f0e7fd) (cherry picked from commit a68188e) (cherry picked from commit 4b8ce6a) (cherry picked from commit e8566d7) (cherry picked from commit 0179fb5)
1 parent 11e9d9b commit 4fab984

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

man/systemd.unit.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@
165165
section. When the unit is enabled, symlinks will be created for those names, and removed when the unit is
166166
disabled. For example, <filename>reboot.target</filename> specifies
167167
<varname>Alias=ctrl-alt-del.target</varname>, so when enabled, the symlink
168-
<filename>/etc/systemd/system/ctrl-alt-del.service</filename> pointing to the
168+
<filename>/etc/systemd/system/ctrl-alt-del.target</filename> pointing to the
169169
<filename>reboot.target</filename> file will be created, and when
170170
<keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Del</keycap></keycombo> is invoked,
171-
<command>systemd</command> will look for the <filename>ctrl-alt-del.service</filename> and execute
172-
<filename>reboot.service</filename>. <command>systemd</command> does not look at the [Install] section at
173-
all during normal operation, so any directives in that section only have an effect through the symlinks
174-
created during enablement.</para>
171+
<command>systemd</command> will look for <filename>ctrl-alt-del.target</filename>, follow the symlink to
172+
<filename>reboot.target</filename>, and execute <filename>reboot.service</filename> as part of that target.
173+
<command>systemd</command> does not look at the [Install] section at all during normal operation, so any
174+
directives in that section only have an effect through the symlinks created during enablement.</para>
175175

176176
<para>Along with a unit file <filename>foo.service</filename>, the directory
177177
<filename>foo.service.wants/</filename> may exist. All unit files symlinked from such a directory are

0 commit comments

Comments
 (0)