X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemctl.xml;h=2f33e0c9e28f2231c8c13421621373324017bf77;hb=735248643920eadf021526714c1eb67518086e8d;hp=62446d7a5747b407858870dc31a6ccdc34c98db4;hpb=45c0c61df3c63cb1f20505c8d292385d5e300578;p=elogind.git diff --git a/man/systemctl.xml b/man/systemctl.xml index 62446d7a5..2f33e0c9e 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -190,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. + + @@ -198,6 +225,7 @@ STDOUT in snapshot, is-active, + is-failed, enable and disable. @@ -600,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...]