summaryrefslogtreecommitdiff
path: root/man/systemd.unit.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-17 00:15:31 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-17 02:43:43 +0200
commitd54c4993699f4fa5feece43715aac3564c4dada6 (patch)
tree8a6927a504a4bd1b5bf5dca8e1e089d1dc39791d /man/systemd.unit.xml
parente50bd775163cd96be1888943a8785a436be710e8 (diff)
install: introduce new DefaultInstance= field for [Install] sections
The DefaultInstance= name is used when enabling template units when only specifying the template name, but no instance. Add DefaultInstance=tty1 to getty@.service, so that when the template itself is enabled an instance for tty1 is created. This is useful so that we "systemctl preset-all" can work properly, because we can operate on getty@.service after finding it, and the right instance is created.
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r--man/systemd.unit.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index e9031567d..b337bb42b 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1286,6 +1286,19 @@
of unit names may be
given.</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><varname>DefaultInstance=</varname></term>
+
+ <listitem><para>In template unit files
+ this specifies for which instance the
+ unit shall be enabled if the template
+ is enabled without any explicitly set
+ instance. This option has no effect in
+ non-template unit files. The specified
+ string must be usable as instance
+ identifier.</para></listitem>
+ </varlistentry>
</variablelist>
<para>The following specifiers are interpreted in the