'Twas brillig, and Václav Pavlín at 09/08/12 08:39 did gyre and gimble: > Lennart Poettering píše v St 08. 08. 2012 v 18:31 +0200: >> If we present the user with a list like this we probably should show a >> tree view of some kind since the unit file getty@.service might get >> instantiated a couple of times as "getty@tty1.service" and so on, and >> hence is in a tree-like relationship. > > I like the idea of the tree view, but I cannot imagine how it can help > to solve autocompletion problem. If I get it right, getty@.service is > template file, which cannot be manually instantiated, so it can be > omitted from the output (User cannot do anything with it, right?).
A user can actually type "systemctl enable getty@.service" as it has the following: [Install] Alias=getty.target.wants/getty@tty1.service Thus "enabling" the template unit will actually configure an instantiation of it. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel