>From Lennart Poettering, Thu 02 Oct 2014 at 16:48:19 (+0200) :
> Well, but from somewhere systemctl preset-all needs to be able to
> discover the "bar" string... How is that supposed to work?
> 
> preset-all just enumerates all unit files that are installed and
> enables/disables them according to the preset file. 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? I agree that since the enable/disable directive
denotes glob, they are not well suited for instances services. Maybe add a
new directive:
instanciate [email protected]
uninstanciate [email protected]
(the uninstanciate is because disable does not disable instancied service
for the same reason enable doe not enable them).

I do not feel too strongly on this feature, afterwards it might as well be
easier to call systemctl enable directly...

Thanks,
Damien Robert
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to