X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemctl.xml;h=250866a875ec754d24ffcb26d20136dd05cec9c5;hb=e0e009c067aa7237f9683c46e5845bbb11ec67c2;hp=ce2860259fceb403c429d5471b43ea982eade7be;hpb=d8fba7c6ccea5e60f31f329f481fb2cdf6907ce9;p=elogind.git diff --git a/man/systemctl.xml b/man/systemctl.xml index ce2860259..250866a87 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -174,10 +174,11 @@ along with systemd; If not, see . - Do not ellipsize unit names, process tree entries, and - truncate unit descriptions in the output of - list-units and - list-jobs. + Do not ellipsize unit names, process tree entries, + journal output, or truncate unit descriptions in the output + of status, list-units, + list-jobs, and + list-timers. @@ -193,8 +194,8 @@ along with systemd; If not, see . - When queuing a new job, control how to deal with already - queued jobs. Takes one of fail, + When queuing a new job, this option controls how to deal with + already queued jobs. It takes one of fail, replace, replace-irreversibly, isolate, @@ -237,7 +238,7 @@ along with systemd; If not, see . applications. ignore-requirements is similar to - ignore-dependencies but only causes the + ignore-dependencies, but only causes the requirement dependencies to be ignored, the ordering dependencies will still be honoured. @@ -256,7 +257,7 @@ along with systemd; If not, see . 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 a list of active locks + (regardless of whether privileged or not) and a 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 @@ -294,7 +295,7 @@ along with systemd; If not, see . - Do not print a legend, i.e. the column headers and + Do not print the legend, i.e. the column headers and the footer with hints. @@ -443,7 +444,7 @@ along with systemd; If not, see . When used with enable, - disable, is-enabled + disable, (and related commands), make changes only temporarily, so that they are lost on the next reboot. This will have the effect that changes are not made in subdirectories of @@ -451,7 +452,7 @@ along with systemd; If not, see . with identical immediate effects, however, since the latter is lost on reboot, the changes are lost too. - Similar, when used with + Similarly, when used with set-property, make changes only temporarily, so that they are lost on the next reboot. @@ -526,7 +527,7 @@ along with systemd; If not, see . - list-units PATTERN... + list-units PATTERN... List known units (subject to limitations specified @@ -539,10 +540,10 @@ along with systemd; If not, see . - list-sockets PATTERN... + list-sockets PATTERN... - List socket units ordered by the listening address. + List socket units ordered by listening address. If one or more PATTERNs are specified, only socket units matching one of them are shown. Produces output similar to @@ -565,7 +566,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service - list-timers PATTERN... + list-timers PATTERN... List timer units ordered by the time they elapse @@ -691,7 +692,7 @@ 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, non-zero otherwise. Unless + active, or non-zero otherwise. Unless is specified, this will also print the current unit state to STDOUT. @@ -708,7 +709,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service - status [NAME...|PID...] + status NAME...|PID...] Show terse runtime status information about one or @@ -719,12 +720,22 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service belongs to. This function is intended to generate human-readable - output. If you are looking for computer-parsable output, use - show instead. + output. If you are looking for computer-parsable output, + use show instead. By default this + function only shows 10 lines of output and ellipsizes + lines to fit in the terminal window. This can be changes + with and , + see above. In addition, journalctl + --unit=NAME or + journalctl + --user-unit=NAME use + a similar filter for messages and might be more + convenient. + - show [NAME...|JOB...] + show NAME...|JOB... Show properties of one or more units, jobs, or the @@ -920,10 +931,64 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Checks whether any of the specified unit files are - enabled (as with enable). Returns an exit - code of 0 if at least one is enabled, non-zero - otherwise. Prints the current enable status. To suppress - this output, use . + enabled (as with enable). Returns an + exit code of 0 if at least one is enabled, non-zero + otherwise. Prints the current enable status (see table). + To suppress this output, use . + + + + + <command>is-enabled</command> output + + + + + + Printed string + Meaning + Return value + + + + + enabled + Enabled through a symlink in .wants directory (permanently or just in /run) + 0 + + + enabled-runtime + + + linked + Made available through a symlink to the unit file (permanently or just in /run) + 1 + + + linked-runtime + + + masked + Disabled entirely (permanently or just in /run) + 1 + + + masked-runtime + + + static + Unit is not enabled, but has no provisions for enabling in [Install] section + 1 + + + disabled + Unit is not enabled + 1 + + + +
+
@@ -1318,7 +1383,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Parameter Syntax - For unit commands the specified + For unit commands, the specified NAME should be the full name of the unit, or an abbreviated name which is automatically extended with the .service suffix. @@ -1330,7 +1395,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service # systemctl status dev-sda.device # systemctl status home.mount - For unit file commands the + For unit file commands, the specified NAME should be the full name of the unit file, or the absolute path to the unit file. # systemctl link /path/to/foo.service