On Thu, 09.10.14 11:42, Damien Robert ([email protected]) wrote:
> >From Lennart Poettering, Wed 08 Oct 2014 at 23:33:13 (+0200) : > > On Fri, 03.10.14 19:18, Damien Robert ([email protected]) > > wrote: > > > > But this means it > > > > would only find the template, and the instance would have to come from > > > > somewhere else, but where? > > > From the preset file? > > No, we enumerate the installed unit files, and then look them up in > > the preset files. > > Yes, I meant you can't do the otherway around anyway (enumerate lines in > preset files and enable/disable them accordingly) because the preset > information is given by globs. This feels wrong. The preset files are actually globs, not full file names. They are not really suitable as a list of filenames, but only as something to match file names against... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
