summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2012-07-13 15:59:26 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-07-26 10:02:10 +0200
commit29283ea4cf5df20aa0ea9e24e3cb7035bf4c4a04 (patch)
treea5a5f661cb7845f358cc99fbacddbd9ebf392564 /man
parentac6a4abed3e69daf6795e02fa4be1719ae6ae6ab (diff)
systemd: enable/disable instances of template
https://bugzilla.redhat.com/show_bug.cgi?id=752774
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml33
1 files changed, 19 insertions, 14 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 3c0a7950a0..c5fae825aa 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -682,24 +682,29 @@
<varlistentry>
<term><command>enable [NAME...]</command></term>
- <listitem><para>Enable one or more
- unit files, as specified on the
+ <listitem><para>Enable one or
+ more unit files or unit file
+ instances, as specified on the
command line. This will create a
- number of symlinks as encoded in the
- <literal>[Install]</literal> sections
- of the unit files. After the symlinks
- have been created the systemd
- configuration is reloaded (in a way
- that is equivalent to
- <command>daemon-reload</command>) to
- ensure the changes are taken into
+ number of symlinks as encoded in
+ the <literal>[Install]</literal>
+ sections of the unit files. After
+ the symlinks have been created the
+ systemd configuration is reloaded
+ (in a way that is equivalent to
+ <command>daemon-reload</command>)
+ to ensure the changes are taken into
account immediately. Note that this
does not have the effect that any of
the units enabled are also started at
- the same time. If this is desired a
- separate <command>start</command>
- command must be invoked for the
- unit.</para>
+ the same time. If this is desired
+ a separate <command>start</command>
+ command must be invoked for the unit.
+ Also note that in case of instance
+ enablement, symlinks named same as
+ instances are created in install
+ location, however they all point to
+ the same template unit file.</para>
<para>This command will
print the actions executed. This