summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-25 12:31:03 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-25 12:31:03 +0200
commit99813a19122932da2cf55fecaf06446dcf7989a2 (patch)
tree0bd560d08f1d33ca2e1bdf80e4cd1a90422f0e14 /man/systemctl.xml
parente8a152c62dd2003731a59e0dffef4336c63110b9 (diff)
systemctl: add new "is-system-running" command to check whether system is fully up
https://bugs.freedesktop.org/show_bug.cgi?id=66926
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index b388eb312e..598d31323f 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -288,6 +288,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<command>snapshot</command>,
<command>is-active</command>,
<command>is-failed</command>,
+ <command>is-enabled</command>,
+ <command>is-system-running</command>,
<command>enable</command> and
<command>disable</command>.</para>
</listitem>
@@ -1300,6 +1302,20 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<variablelist>
<varlistentry>
+ <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>
+
+ <varlistentry>
<term><command>default</command></term>
<listitem>
@@ -1307,6 +1323,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<command>isolate default.target</command>.</para>
</listitem>
</varlistentry>
+
<varlistentry>
<term><command>rescue</command></term>