X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemctl.xml;h=fef95789514c1868dac131bbde695e300ea5b008;hp=1b0f8e5e2d48a69125f92d07a291232778ecc6e3;hb=4a77ca700d1841c2b8a86ed5b7f3495db61c236d;hpb=f366d58dc1fe51b300167446597750d29687c3c5 diff --git a/man/systemctl.xml b/man/systemctl.xml index 1b0f8e5e2..fef957895 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -21,7 +21,8 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + systemctl @@ -71,22 +72,6 @@ along with systemd; If not, see . The following options are understood: - - - - - Prints a short help - text and exits. - - - - - - - Prints a short version string and exits. - - - @@ -163,8 +148,8 @@ along with systemd; If not, see . - Show which units are started after or before - with list-dependencies, respectively. + Show after (before) which units the specified unit is started + with list-dependencies. @@ -300,30 +285,8 @@ along with systemd; If not, see . - - - - - Do not pipe output into a pager. - - - - - - - - Talk to the systemd system manager. (Default) - - - - - - - - Talk to the systemd manager of the calling - user. - - + + @@ -459,27 +422,6 @@ along with systemd; If not, see . - - - - - - Execute the operation remotely. Specify a hostname, or - username and hostname separated by @, to - connect to. This will use SSH to talk to the remote systemd - instance. - - - - - - - - Execute the operation on a local - container. Specify a container name to connect - to. - - @@ -514,6 +456,12 @@ along with systemd; If not, see . + + + + + + @@ -554,8 +502,7 @@ LISTEN UNIT ACTIVATES [::]:22 sshd.socket sshd.service kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service -5 sockets listed. - +5 sockets listed. Note: because the addresses might contains spaces, this output is not suitable for programmatic consumption. @@ -591,7 +538,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service failed state usually are not loaded, and would not be matched by any pattern. In addition, in case of instantiated units, systemd is often unaware of the - instance name until the instance has been started. Therefore + instance name until the instance has been started. Therefore, using glob patterns with start has limited usefulness. @@ -700,21 +647,23 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Check whether any of the specified units are active - (i.e. running). Returns an exit code 0 if at least one is - active, or non-zero otherwise. Unless - is specified, this will also print the current unit state to - STDOUT. + (i.e. running). Returns an exit code + 0 if at least one is active, or + non-zero otherwise. Unless is + specified, this will also print the current unit state to + standard output. is-failed PATTERN... - Check whether any of the specified units are in a "failed" state. - Returns an exit code 0 if at least one has failed, non-zero - otherwise. Unless is specified, this - will also print the current unit state to - STDOUT. + Check whether any of the specified units are in a + "failed" state. Returns an exit code + 0 if at least one has failed, + non-zero otherwise. Unless is + specified, this will also print the current unit state to + standard output. @@ -1127,9 +1076,10 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Create a snapshot. If a snapshot name is specified, the new snapshot will be named after it. If none is - specified, an automatic snapshot name is generated. In either - case, the snapshot name used is printed to STDOUT, unless - is specified. + specified, an automatic snapshot name is generated. In + either case, the snapshot name used is printed to standard + output, unless is specified. + A snapshot refers to a saved state of the systemd manager. It is implemented itself as a unit that is @@ -1196,9 +1146,9 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Import all, one or more environment variables set on the client into the systemd manager environment block. If - no arguments are passed the entire environment block is - imported. Otherwise a list of one or more environment - variable names should be passed, whose client side values + no arguments are passed, the entire environment block is + imported. Otherwise, a list of one or more environment + variable names should be passed, whose client-side values are then imported into the manager's environment block. @@ -1429,7 +1379,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service # systemctl status dev-sda.device # systemctl status home.mount In the second case, shell-style globs will be matched against - currently loaded units, and literal unit names, with or without + currently loaded units; literal unit names, with or without a suffix, will be treated as in the first case. This means that literal unit names always refer to exactly one unit, but globs may match zero units and this is not considered an error. @@ -1441,7 +1391,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service [] may be used. See glob7 for more details. The patterns are matched against the names of - currently loaded units, and patterns which don't match anything + currently loaded units, and patterns which do not match anything are silently skipped. For example: # systemctl stop sshd@*.service will stop all sshd@.service instances. @@ -1465,27 +1415,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service code otherwise. - - Environment - - - - $SYSTEMD_PAGER - - - Pager to use when is not - given; overrides $PAGER. Setting this to - an empty string or the value cat is - equivalent to passing - . - - $SYSTEMD_LESS - $SYSTEMD_LESS overrides the - default options passed to less - (FRSXMK). - - - + See Also