mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
man: document that "systemctl enable" supports abbreviated unit file names
Fixes: #1502
This commit is contained in:
parent
358a9d5114
commit
1534e170b4
@ -1703,7 +1703,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
|
||||
unit specifications (designated as
|
||||
<replaceable>PATTERN</replaceable>...). In the first case, the
|
||||
unit name with or without a suffix must be given. If the suffix
|
||||
is not specified, systemctl will append a suitable suffix,
|
||||
is not specified ("abbreviated"), systemctl will append a suitable suffix,
|
||||
<literal>.service</literal> by default, and a type-specific
|
||||
suffix in case of commands which operate only on specific unit
|
||||
types. For example,
|
||||
@ -1740,9 +1740,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
|
||||
loaded are not considered for glob expansion.
|
||||
</para>
|
||||
|
||||
<para>For unit file commands, the specified
|
||||
<replaceable>NAME</replaceable> should be the full name of the
|
||||
unit file, or the absolute path to the unit file:
|
||||
<para>For unit file commands, the specified <replaceable>NAME</replaceable> should be the name of the unit file
|
||||
(possibly abbreviated, see above), or the absolute path to the unit file:
|
||||
<programlisting># systemctl enable foo.service</programlisting>
|
||||
or
|
||||
<programlisting># systemctl link /path/to/foo.service</programlisting>
|
||||
|
Loading…
x
Reference in New Issue
Block a user