diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-28 18:57:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-28 18:57:04 +0100 |
commit | aabf5d42434082ae4e2d0c98d4705f58ee707567 (patch) | |
tree | 797980331963fdb87e098d3f8e336a1b4bd2d289 /man | |
parent | 42f729c15e880fa2cff225ff9937c475e10493d9 (diff) |
systemctl: rename "reload-or-try-restart" verb to "try-reload-or-restart"
But also keep the old name as (undocumented) compatibility around.
The reload-or-try-restart was documented to be a NOP if the unit is not running, since the previous commits this is
also implemented. The old name suggests that the "try" logic only applies to restarting. Fix this, by moving the "try-"
to the front, to indicate that the whole option is a NOP if the service isn't running.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemctl.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 6e5369f061..cce7861139 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -748,7 +748,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service </listitem> </varlistentry> <varlistentry> - <term><command>reload-or-try-restart <replaceable>PATTERN</replaceable>...</command></term> + <term><command>try-reload-or-restart <replaceable>PATTERN</replaceable>...</command></term> <listitem> <para>Reload one or more units if they support it. If not, |