X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemctl.xml;h=2f33e0c9e28f2231c8c13421621373324017bf77;hb=735248643920eadf021526714c1eb67518086e8d;hp=786c2bdfcfa40df7cf264d660d00a830dbc364aa;hpb=6524990fdc98370ecba5d9f73e67161e8798c010;p=elogind.git
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 786c2bdfc..2f33e0c9e 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -106,6 +106,11 @@
certain unit types. If not specified
units of in all load states will be
shown.
+
+ As a special case, if the argument
+ is , a list of
+ allowed values will be printed and the
+ program will exit.
@@ -185,6 +190,33 @@
applications.
+
+
+
+
+ When system shutdown
+ or a sleep state is requested, ignore
+ inhibitor locks. Applications can
+ establish inhibitor locks to avoid
+ that certain important operations
+ (such as CD burning or suchlike) are
+ interrupted by system shutdown or a
+ sleep state. Any user may take these
+ locks and privileged users may
+ override these locks. If any locks are
+ taken, shutdown and sleep state
+ requests will normally fail
+ (regardless if privileged or not) and
+ list of active locks is
+ printed. However if
+
+ is specified the locks are ignored and
+ not printed, and the operation
+ attempted anyway, possibly requiring
+ additional
+ privileges.
+
+
@@ -193,6 +225,7 @@
STDOUT in
snapshot,
is-active,
+ is-failed,
enable and
disable.
@@ -595,6 +628,18 @@
this will also print the current unit
state to STDOUT.
+
+ is-failed [NAME...]
+
+ Check whether any of
+ the specified units are failed.
+ Returns an exit code
+ 0 if at least one is failed, non-zero
+ otherwise. Unless
+ is specified
+ this will also print the current unit
+ state to STDOUT.
+ status [NAME...|PID...]
@@ -1173,17 +1218,29 @@
suspend
- Suspend the system.
+ Suspend the
+ system. This will trigger activation
+ of the special
+ suspend.target
+ target.hibernate
- Hibernate the system.
+ Hibernate the
+ system. This will trigger activation
+ of the special
+ hibernate.target
+ target.hybrid-sleep
- Hibernate and suspend the system.
+ Hibernate and suspend
+ the system. This will trigger
+ activation of the special
+ hybrid-sleep.target
+ target.switch-root [ROOT] [INIT]