X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemctl.xml;h=338c1d3280a82cca9b186b6a66370d105de5bcc0;hb=d15d65a01fe02fc66c3a9664fa9eab983f0f5024;hp=d1991e0f97ad4266fb0fb709b55e62a7c2278a55;hpb=7d4fb3b1c5ec7a117bd5a36e4591819a64e00136;p=elogind.git
diff --git a/man/systemctl.xml b/man/systemctl.xml
index d1991e0f9..338c1d328 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -3,22 +3,22 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
.
Note that any After= dependency is
automatically mirrored to create a
Before= dependency. Temporal dependencies
- may be specified explictly, but are also created implicitly
+ may be specified explicitly, but are also created implicitly
for units which are WantedBy= targets
(see
systemd.target5),
@@ -321,15 +321,6 @@ along with systemd; If not, see .
-
-
-
-
- Do not print the legend, i.e. the column headers and
- the footer with hints.
-
-
-
@@ -386,7 +377,6 @@ along with systemd; If not, see .
querying the user for authentication for privileged
operations.
-
@@ -548,9 +538,10 @@ along with systemd; If not, see .
+
+
-
@@ -992,6 +983,56 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
+
+ reenable NAME...
+
+
+ Reenable one or more unit files, as specified on the
+ command line. This is a combination of
+ disable and enable and
+ is useful to reset the symlinks a unit is enabled with to
+ the defaults configured in the [Install]
+ section of the unit file.
+
+
+
+
+ preset NAME...
+
+
+ Reset one or more unit files, as specified on the
+ command line, to the defaults configured in the preset
+ policy files. This has the same effect as
+ disable or enable,
+ depending how the unit is listed in the preset files.
+
+ Use to control
+ whether units shall be enabled and disabled, or only
+ enabled, or only disabled.
+
+ For more information on the preset policy format,
+ see
+ systemd.preset5.
+ For more information on the concept of presets, please
+ consult the Preset
+ document.
+
+
+
+
+ preset-all
+
+
+ Resets all installed unit files to the defaults
+ configured in the preset policy file (see above).
+
+ Use to control
+ whether units shall be enabled and disabled, or only
+ enabled, or only disabled.
+
+
+
is-enabled NAME...
@@ -1063,56 +1104,6 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
-
- reenable NAME...
-
-
- Reenable one or more unit files, as specified on the
- command line. This is a combination of
- disable and enable and
- is useful to reset the symlinks a unit is enabled with to
- the defaults configured in the [Install]
- section of the unit file.
-
-
-
-
- preset NAME...
-
-
- Reset one or more unit files, as specified on the
- command line, to the defaults configured in the preset
- policy files. This has the same effect as
- disable or enable,
- depending how the unit is listed in the preset files.
-
- Use to control
- whether units shall be enabled and disabled, or only
- enabled, or only disabled.
-
- For more information on the preset policy format,
- see
- systemd.preset5.
- For more information on the concept of presets, please
- consult the Preset
- document.
-
-
-
-
- preset-all
-
-
- Resets all installed unit files to the defaults
- configured in the preset policy file (see above).
-
- Use to control
- whether units shall be enabled and disabled, or only
- enabled, or only disabled.
-
-
-
mask NAME...
@@ -1139,25 +1130,6 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
-
- add-wants TARGET
- NAME...
- add-requires TARGET
- NAME...
-
-
- Adds Wants= resp. Requires=
- dependency to the specified TARGET for
- one or more units.
-
- This command honors ,
- , and
- in a similar way as
- enable.
-
-
-
-
link FILENAME...
@@ -1173,20 +1145,21 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
- get-default
+ add-wants TARGET
+ NAME...
+ add-requires TARGET
+ NAME...
- Get the default target specified
- via default.target link.
-
-
+ Adds Wants= resp. Requires=
+ dependency to the specified TARGET for
+ one or more units.
-
- set-default NAME
+ This command honors ,
+ , and
+ in a similar way as
+ enable.
-
- Set the default target to boot into. Command links
- default.target to the given unit.
@@ -1226,6 +1199,27 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
/run.
+
+
+ get-default
+
+
+ Return the default target to boot into. This returns
+ the target unit name default.target
+ is aliased (symlinked) to.
+
+
+
+
+ set-default NAME
+
+
+ Set the default target to boot into. This sets
+ (symlinks) the default.target alias
+ to the given target unit.
+
+
+
@@ -1347,7 +1341,10 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
- import-environment VARIABLE...
+
+ import-environment
+ VARIABLE...
+ Import all, one or more environment variables set on
@@ -1370,12 +1367,16 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
daemon-reload
- Reload systemd manager configuration. This will reload
- all unit files and recreate the entire dependency
- tree. While the daemon is being reloaded, all sockets systemd
- listens on behalf of user configuration will stay
- accessible.This command should not be confused
- with the reload command.
+ Reload systemd manager configuration. This will
+ rerun all generators (see
+ systemd.generator7),
+ reload all unit files, and recreate the entire dependency
+ tree. While the daemon is being reloaded, all sockets
+ systemd listens on behalf of user configuration will stay
+ accessible.
+
+ This command should not be confused with the
+ reload command.
@@ -1547,6 +1548,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
firmware over the air update.
+
kexec
@@ -1560,6 +1562,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
immediately followed by the reboot.
+
exit
@@ -1569,8 +1572,29 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
with the option) and will fail
otherwise.
+
+
+
+ switch-root ROOTINIT
+
+ Switches to a different root directory and executes a
+ new system manager process below it. This is intended for
+ usage in initial RAM disks ("initrd"), and will transition
+ from the initrd's system manager process (a.k.a "init"
+ process) to the main system manager process. This call takes two
+ arguments: the directory that is to become the new root directory, and
+ the path to the new system manager binary below it to
+ execute as PID 1. If the latter is omitted or the empty
+ string, a systemd binary will automatically be searched for
+ and used as init. If the system manager path is omitted or
+ equal to the empty string, the state of the initrd's system
+ manager process is passed to the main system manager, which
+ allows later introspection of the state of the services
+ involved in the initrd boot.
+
+
suspend
@@ -1580,6 +1604,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
+
hibernate
@@ -1589,6 +1614,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
+
hybrid-sleep
@@ -1598,26 +1624,6 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
hybrid-sleep.target target.
-
- switch-root ROOTINIT
-
-
- Switches to a different root directory and executes a
- new system manager process below it. This is intended for
- usage in initial RAM disks ("initrd"), and will transition
- from the initrd's system manager process (a.k.a "init"
- process) to the main system manager process. This call takes two
- arguments: the directory that is to become the new root directory, and
- the path to the new system manager binary below it to
- execute as PID 1. If the latter is omitted or the empty
- string, a systemd binary will automatically be searched for
- and used as init. If the system manager path is omitted or
- equal to the empty string, the state of the initrd's system
- manager process is passed to the main system manager, which
- allows later introspection of the state of the services
- involved in the initrd boot.
-
-
@@ -1654,11 +1660,11 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
may match zero units and this is not considered an error.
Glob patterns use
- fnmatch3,
+ fnmatch3,
so normal shell-style globbing rules are used, and
*, ?,
[] may be used. See
- glob7
+ glob7
for more details. The patterns are matched against the names of
currently loaded units, and patterns which do not match anything
are silently skipped. For example:
@@ -1711,15 +1717,16 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
See Alsosystemd1,
- systemadm1,
journalctl1,
loginctl1,
+ machinectl1,
systemd.unit5,
systemd.resource-management5,
systemd.special7,
wall1,
systemd.preset5,
- glob7
+ systemd.generator7,
+ glob7