[systemd-devel] [PATCH] man: fix systemctl try-restart description

Lennart Poettering lennart at poettering.net
Tue Mar 15 19:54:47 PDT 2011


On Fri, 11.03.11 20:51, Andrey Borzenkov (arvidjaar at gmail.com) wrote:

> It is no more error when service is not running.

Thanks! Applied.

> 
> ---
>  man/systemctl.xml |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man/systemctl.xml b/man/systemctl.xml
> index d37a7d9..f10471a 100644
> --- a/man/systemctl.xml
> +++ b/man/systemctl.xml
> @@ -447,9 +447,9 @@
>  
>                                  <listitem><para>Restart one or more
>                                  units specified on the command
> -                                line. If the units are not running yet
> -                                the operation will
> -                                fail. Note that for compatibility
> +                                line if the units are running. Do
> +                                nothing if units are not running.
> +                                Note that for compatibility
>                                  with Red Hat init scripts
>                                  <command>condrestart</command> is
>                                  equivalent to this command.</para></listitem>


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list