man: update systemctl man page for unit file commands, in particular "systemctl enable"
Clarify that "systemctl enable" can operate either on unit names or on unit file paths (also, adjust the --help text to clarify this). Say that "systemctl enable" on unit file paths also links the unit into the search path. Many other fixes. This should improve the documentation to avoid further confusion around #3706.
This commit is contained in:
@@ -6533,7 +6533,7 @@ static void systemctl_help(void) {
|
||||
" unit is required or wanted\n\n"
|
||||
"Unit File Commands:\n"
|
||||
" list-unit-files [PATTERN...] List installed unit files\n"
|
||||
" enable NAME... Enable one or more unit files\n"
|
||||
" enable [NAME...|PATH...] Enable one or more unit files\n"
|
||||
" disable NAME... Disable one or more unit files\n"
|
||||
" reenable NAME... Reenable one or more unit files\n"
|
||||
" preset NAME... Enable/disable one or more unit files\n"
|
||||
|
||||
Reference in New Issue
Block a user