]> git.ipfire.org Git - thirdparty/systemd.git/commit
install: introduce new DefaultInstance= field for [Install] sections
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Jun 2014 22:15:31 +0000 (00:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Jun 2014 00:43:43 +0000 (02:43 +0200)
commitd54c4993699f4fa5feece43715aac3564c4dada6
tree8a6927a504a4bd1b5bf5dca8e1e089d1dc39791d
parente50bd775163cd96be1888943a8785a436be710e8
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.
man/systemd.unit.xml
src/core/load-fragment-gperf.gperf.m4
src/shared/install.c
src/shared/install.h
units/getty@.service.m4