Re: Conflicts on service template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 17.08.20 16:49, Andy Pieters (systemd@xxxxxxxxxxxxxxxxx) wrote:

> Hi
>
> Is it possible (and if so, how?) to define a conflict on any other instance
> of a template unit?

no. this is not available.

We have no wildcard deps. Thing is that units can come and go
dynamically, hence implementing this would be difficult, as we'd have
to check all such wildcard dep holders whenever a new unit shows up
whether it might possibly match. And this would fall apart quickly, in
particular if you think about "positive" deps (like wants=/requires=)
instead of negative ones (i.e. Conflicts=).

Sorry,

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux