Document how restart actions work (#5052)

When a user is trying to understand what is going on with a restart action, it is useful to explicitly describe how the action is run. It may seem obvious, but it is helpful to be explicit so one knows there isn't a special ExecRestart= or similar option that they could be looking at.
This commit is contained in:
micah 2017-01-11 15:07:35 -05:00 committed by Zbigniew Jędrzejewski-Szmek
parent 07f4efcc8a
commit 6539dd7c42

View file

@ -760,18 +760,18 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<term><command>restart <replaceable>PATTERN</replaceable></command></term>
<listitem>
<para>Restart one or more units specified on the command
line. If the units are not running yet, they will be
started.</para>
<para>Stop and then start one or more units specified on the
command line. If the units are not running yet, they will
be started.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>try-restart <replaceable>PATTERN</replaceable></command></term>
<listitem>
<para>Restart one or more units specified on the command
line if the units are running. This does nothing if units are not
running.</para>
<para>Stop and then start one or more units specified on the
command line if the units are running. This does nothing
if units are not running.</para>
<!-- Note that we don't document condrestart here, as that is just compatibility support, and we generally
don't document that. -->
</listitem>