[systemd-devel] [feature request] allow instances in file.preset
Damien Robert
damien.olivier.robert at gmail.com
Thu Oct 9 11:28:14 PDT 2014
>From Lennart Poettering, Thu 09 Oct 2014 at 16:44:42 (+0200) :
> > > > > 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...
Yes, this is exactly what I was saying, sorry for the miscommunication...
--
Damien Robert
http://www.normalesup.org/~robert/pro
More information about the systemd-devel
mailing list