Re: [systemd-devel] Conditional dependency

2020-01-28 Thread Lennart Poettering
On Mo, 27.01.20 12:33, prashantkumar dhotre ([email protected]) wrote: > Hi, > Is there a way to specify conditional dependency in service files ? > My use case is : I have a include file my.include that contains > 'After=core.service' among other things. Note that we explicitly do n

[systemd-devel] Conditional dependency

2020-01-26 Thread prashantkumar dhotre
Hi, Is there a way to specify conditional dependency in service files ? My use case is : I have a include file my.include that contains 'After=core.service' among other things. I have services A,B,C and X. As of now , all include my.include. Now my requirement is - I want services A,B and C to be d