[systemd-devel] [PATCH] units: Make getty at .service install rule generic.
Lennart Poettering
lennart at poettering.net
Wed Mar 6 06:26:26 PST 2013
On Wed, 13.02.13 11:01, Thomas Bächler (thomas at archlinux.org) wrote:
> > The same could be said of any templated unit with a WantedBy= section I
> > guess.
> >
> > One idea off the top of my head is to have a NoInstanceAlias= directive,
> > but adding a new verb here seems fugly.
>
> I actually like the idea of adding a DefaultInstace= option to the
> install section. Instead of fiddling with aliases manually, it could
> look like this:
>
> [Install]
> WantedBy=getty.target
> DefaultInstance=tty1
I like this actually.
> Instead of going to [Install], this could even go to [Unit] and affect
> start/stop, not just enable.
I don't like this so much however...
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list