Package: debhelper
Version: 12
Severity: normal
Tags: d-i

Hello,
i was trying to build Serf locally for stretch using debhelper 12.
I started with golang-github-hashicorp-serf
(0.8.1+git20171021.c20a0b1~ds1-4~bpo9+1),
which is on the offical debain repo and did the following:

* Renamed `serf.service` inside debian/ to `serf@.service`
* in `debian/rules` i added `override_dh_installinit:`

When building the package it built but it didn't copy the templete unit
file `serf@.service`.
In DH_INSTALLSYSTEMD(1) is wriiten if `debian/package@.service` it
should be installed into lib/systemd/system/.

Then this was tested against unstable it didn't copy the templete
unit.

Adding :
```override_dh_installsystemd:
        dh_installsystemd -pserf serf@.service
```
to `debian\rules` fixed the issue.

Thanks.

Reply via email to