From: ZHANG Yuntian Date: Fri, 5 Jul 2024 09:04:44 +0000 (+0800) Subject: man: fix typo in the alias symlink name X-Git-Tag: v257-rc1~938 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0e7fd4fd1d20e3f4be18f485c76d25ce10f41b;p=thirdparty%2Fsystemd.git man: fix typo in the alias symlink name Symlink created by Alias will use the value as the file name. --- diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 919e641c5c0..bdf9e4e89ee 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -173,13 +173,13 @@ section. When the unit is enabled, symlinks will be created for those names, and removed when the unit is disabled. For example, reboot.target specifies Alias=ctrl-alt-del.target, so when enabled, the symlink - /etc/systemd/system/ctrl-alt-del.service pointing to the + /etc/systemd/system/ctrl-alt-del.target pointing to the reboot.target file will be created, and when CtrlAltDel is invoked, - systemd will look for the ctrl-alt-del.service and execute - reboot.service. systemd does not look at the [Install] section at - all during normal operation, so any directives in that section only have an effect through the symlinks - created during enablement. + systemd will look for ctrl-alt-del.target, follow the symlink to + reboot.target, and execute reboot.service as part of that target. + systemd does not look at the [Install] section at all during normal operation, so any + directives in that section only have an effect through the symlinks created during enablement. Along with a unit file foo.service, the directory foo.service.wants/ may exist. All unit files symlinked from such a directory are