Re: [systemd-devel] Conflicts on service template

2020-09-04 Thread Andy Pieters
On Fri, 4 Sep 2020, 4:15 pm Lennart Poettering, wrote: > On Mo, 17.08.20 16:49, Andy Pieters (syst...@andypieters.me.uk) 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. > -- > Lennart Poet

Re: [systemd-devel] Conflicts on service template

2020-09-04 Thread Lennart Poettering
On Mo, 17.08.20 16:49, Andy Pieters (syst...@andypieters.me.uk) 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 implementi

[systemd-devel] Conflicts on service template

2020-08-17 Thread Andy Pieters
Hi Is it possible (and if so, how?) to define a conflict on any other instance of a template unit? E.g. I've created a vpn@ service and what I would like to do is for it to stop any other vpn@ instance when another is started. Yes, I do know that some people want to have a VPN connection to more