1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 01:55:32 +03:00

man: mention that systemctl is-active or is-failed do not load units

See the discussion in the issue #7875.
This commit is contained in:
Yu Watanabe 2018-01-16 23:25:56 +09:00
parent 47dbb99ad7
commit c7612b2005

View File

@ -877,6 +877,10 @@ Sun 2017-02-26 20:57:49 EST 2h 3min left Sun 2017-02-26 11:56:36 EST 6h ago
non-zero otherwise. Unless <option>--quiet</option> is
specified, this will also print the current unit state to
standard output.</para>
<para>Unlike <command>status</command> or <command>show</command> commands, this does not
load units. So, when a specified unit is an alias of another unit and is not loaded,
then this outputs "inactive", even if the aliased unit is active.</para>
</listitem>
</varlistentry>
<varlistentry>
@ -889,6 +893,10 @@ Sun 2017-02-26 20:57:49 EST 2h 3min left Sun 2017-02-26 11:56:36 EST 6h ago
non-zero otherwise. Unless <option>--quiet</option> is
specified, this will also print the current unit state to
standard output.</para>
<para>Unlike <command>status</command> or <command>show</command> commands, this does not
load units. So, when a specified unit is an alias of another unit and is not loaded,
then this outputs "inactive", even if the aliased unit is failed.</para>
</listitem>
</varlistentry>
<varlistentry>
@ -987,6 +995,9 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
are always exposed as properties ending in the <literal>…USec</literal> suffix even if a matching
configuration options end in <literal>…Sec</literal>, because microseconds is the normalized time unit used
by the system and service manager.</para>
<para>As similar to <command>status</command> command, systemd implicitly loads units as necessary.
See also <command>status</command> command for the detail.</para>
</listitem>
</varlistentry>
<varlistentry>