dh-systemd seems not to support multiple service units

Hashem Nasarat hnasarat at gmail.com
Thu Feb 1 14:17:01 GMT 2018


For anyone else coming across this same error, the solution is:

       For only generating blocks for specific service files, you need to
pass them as arguments, e.g. dh_systemd_enable quota.service and
       dh_systemd_enable --name=quotarpc quotarpc.service.

override_dh_systemd_enable:
    dh_systemd_enable --name=service_on_by_default service_on_by_default.service
    dh_systemd_enable --name=another_service_on_by_default
another_service_on_by_default.service
    dh_systemd_enable --no-enable --name=non_tipical_service
non_tipical_service.service


Otherwise dh_systemd_enable includes the first 3 times, the second
2times , and the third 1 time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20180201/5deb4a7e/attachment.html>


More information about the Pkg-systemd-maintainers mailing list