Bug#801822: deb-systemd-helper does not support template units (e.g. foo at .service)

Felipe Sateler fsateler at debian.org
Wed Dec 21 21:10:20 GMT 2016


Control: tags -1 confirmed

On Wed, 14 Oct 2015 19:28:25 -0300 Antonio Terceiro <terceiro at debian.org> wrote:
> Package: init-system-helpers
> Version: 1.24
> Severity: normal
>
> `deb-systemd-helper enable foo at 1.service` will not work even if the
> corresponding foo at .service is correctly in place.
>
> Use case: in the new version of debci, you will be able to run multiple
> worker instances on each system, but by default I want to enable and
> start the first one in postinst.
>
> I hope I understand how all of this is supposed to work, so I am
> currently doing it like this:
>
> http://anonscm.debian.org/cgit/collab-maint/debci.git/commit/?id=cef32ff04680607a4e41a9673649e8320f649c95
>
> Are we supposed to have packages managing instanciated template units
> like this?

I can confirm deb-systemd-* do not support instanced templated units,
and this is a pretty big hole.
Patches to make it work welcome.

Saludos



More information about the Pkg-systemd-maintainers mailing list