X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-install.xml;h=28415d19e11cf3283813f4c78dbc9b7a7013d8e6;hb=b4f10a5e8956d26f0bc6b9aef12846b57caee08b;hp=bb52230856f413bf4bdd5a4e105771e1354a86ea;hpb=160cd5c9aa2301892e13950015de7968c764340d;p=elogind.git
diff --git a/man/systemd-install.xml b/man/systemd-install.xml
index bb5223085..28415d19e 100644
--- a/man/systemd-install.xml
+++ b/man/systemd-install.xml
@@ -66,6 +66,20 @@
systemd-install enables or
disables systemd units, or checks whether they are
enabled.
+
+ This command is useful to apply or undo the
+ installation instructions encoded in the [Install]
+ section of unit files. See
+ systemd.unit5
+ for more information.
+
+ Enabling units (as with systemd-install
+ enable) should not be confused with
+ activating units (as with systemctl
+ start). The former simply installs the unit
+ files in the configuration tree, but does not start
+ them. The latter equals starting them, but does not
+ necessarily require them to be enabled.
@@ -114,6 +128,57 @@
session service for all
users.
+
+
+
+
+ After
+ enabling/disabling stop/restart/stop
+ the unit and reload manager
+ configuration. Optionally, takes one
+ of ,
+ ,
+ ,
+ or
+ . If
+ is passed the
+ manager will not reload its
+ configuration and no service will be
+ started or stopped after
+ enabling/disabling of the unit
+ files. If is
+ passed the daemon configuration is
+ reloaded but the unit otherwise not
+ started/stopped/restarted. If
+ is passed and
+ a unit is being enabled it will also
+ be restarted should it already be
+ running. If a unit is being disabled
+ it will be stopped should it be
+ running. In either case the daemon
+ configuration is
+ reloaded. is
+ similar to this, but the unit will
+ also be started if it is being enabled
+ and any of the units listed in
+ WantedBy= in the
+ [Install] section
+ of the unit file is already
+ activated. Finally
+ starts the unit
+ unconditionally after enabling. This
+ setting defaults to
+ . If the mode value
+ is omitted defaults to
+ . This option
+ has no effect when
+ or
+ test is used, or
+ when systemd is not running or the
+ command is executed in a
+ chroot2
+ environment.
+ The following commands are understood:
@@ -124,17 +189,19 @@
Enable a unit. This
will create a number of symlinks as
- encoded in the [Install] section of a
- unit file.
+ encoded in the
+ [Install] section
+ of a unit file.
disableDisable a unit. This
- will removed a number of symlinks as
- encoded in the [Install] section of a
- unit file.
+ will remove a number of symlinks as
+ encoded in the
+ [Install] section
+ of a unit file.
@@ -143,9 +210,10 @@
Checks whether any of
the units specified are
installed. This will check for the
- existance of a number of symlinks as
- encoded in the [Install] section of a
- unit file.
+ existence of a number of symlinks as
+ encoded in the
+ [Install] section
+ of a unit file.