[systemd-devel] [systemd-commits] man/systemctl.xml src/systemctl

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Jun 25 05:43:26 PDT 2014


On Wed, Jun 25, 2014 at 03:32:12AM -0700, Lennart Poettering wrote:
>  man/systemctl.xml         |   17 +++++++++++++++++
>  src/systemctl/systemctl.c |   26 ++++++++++++++++++++++++++
>  2 files changed, 43 insertions(+)
> 
> +          <term><command>is-system-running</command></term>
> +
> +          <listitem>
> +            <para>Checks whether the system is running. This returns
> +            success when the system is fully up and running, meaning
> +            not in startup, shutdown or maintainance mode. Failure is
> +            returned otherwise. In addition, the current state is
> +            printed in a short string to standard output. Use
> +            <option>--quiet</option> to suppress output of this state
> +            string.</para>
> +          </listitem>
> +        </varlistentry>
"is-system-running" is very generic, without reading the documentation
I would guess this to include the bootup phase. Maybe it should be renamed
to something like "is-bootup-finished" or something.

Zbyszek



More information about the systemd-devel mailing list