Rolf Leggewie:
Package: debhelper
Version: 13.11.4
Severity: wishlist
X-Debbugs-Cc: [email protected]

Dear Maintainers,

kindly add support for more than one service per binary package in dh_installsystemd.  I imagine it like this

debian/mybinarypkg.myservice1.service
debian/mybinarypkg.myservice2.service
debian/mybinarypkg.myservice3.service

Currently, it requires an override_dh_installsystemd (and probably additional cleanup) but it would be great if this was supported out of the box.

override_dh_installsystemd:
     dh_installsystemd --name=myservice1
     dh_installsystemd --name=myservice2
     dh_installsystemd --name=myservice3
     dh_installsystemd

Another use case for this is when the current assumption of $binarypkgname == $servicename breaks even with a single service.

Thank you and best regards

Rolf Leggewie

Hi Rolf

Thanks for the suggestion.

I do not think this feature is likely to appear in `debhelper` due to the underlying mechanics and how this would interact with other features (such as needing `--no-start` / `--no-enable` only for a subset of services).

It is a feature I have set out to support better in `debputy` (requires integration mode `dh-sequence-zz-debputy` or `full`). Depending on your situation and the package(s) in question, this may be an option for you. If you are open to seeing it, I am happy to help with a prototype porting of concrete packages, provided the package can be supported by `debputy` at this stage.

Best regards,
Niels


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to