From 1534e170b495acf38e4540b9624fcb71b86cfdbf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 10 Feb 2016 21:47:07 +0100 Subject: man: document that "systemctl enable" supports abbreviated unit file names Fixes: #1502 --- man/systemctl.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'man/systemctl.xml') diff --git a/man/systemctl.xml b/man/systemctl.xml index cce7861139..51742bfaa6 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -1703,7 +1703,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service unit specifications (designated as PATTERN...). 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, .service 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. - For unit file commands, the specified - NAME should be the full name of the - unit file, or the absolute path to the unit file: + For unit file commands, the specified NAME should be the name of the unit file + (possibly abbreviated, see above), or the absolute path to the unit file: # systemctl enable foo.service or # systemctl link /path/to/foo.service -- cgit v1.2.3-54-g00ecf