From 29283ea4cf5df20aa0ea9e24e3cb7035bf4c4a04 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Fri, 13 Jul 2012 15:59:26 +0200 Subject: systemd: enable/disable instances of template https://bugzilla.redhat.com/show_bug.cgi?id=752774 --- man/systemctl.xml | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'man') 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 @@ enable [NAME...] - Enable one or more - unit files, as specified on the + 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 - [Install] sections - of the unit files. After the symlinks - have been created the systemd - configuration is reloaded (in a way - that is equivalent to - daemon-reload) to - ensure the changes are taken into + number of symlinks as encoded in + the [Install] + sections of the unit files. After + the symlinks have been created the + systemd configuration is reloaded + (in a way that is equivalent to + daemon-reload) + 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 start - command must be invoked for the - unit. + the same time. If this is desired + a separate start + 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. This command will print the actions executed. This -- cgit v1.2.3-54-g00ecf