[systemd-devel] Depending on services from a service unit template

Michael Biebl mbiebl at gmail.com
Mon Jun 27 13:37:16 UTC 2016


2016-06-27 13:49 GMT+02:00 Andrei Borzenkov <arvidjaar at gmail.com>:
> On Mon, Jun 27, 2016 at 9:25 AM, Paul Menzel
> <paulepanter at users.sourceforge.net> wrote:
>> Dear systemd folks,
>>
>>
>> having a template for a service unit like `example at .service`, and
>> starting several services from it, is there a way, to let another
>> service unit require all services started from that template?
>>
>
> I do not think it is possible. In other direction it may work with
> some workaround (i.e. make every instance of template be required by
> specific services).


PartOf= in the template service might be what you are looking for.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list