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:`
* Added :
```override_dh_installsystemd:
        dh_installsystemd -pserf serf@.service
```
to `debian\rules`
Using sbuild with debhelper 12 i could build the package, however after
installing it one would need to excute systemctl daemon-reload manually
to reload systemd unit files 

expected behavior : the systemctl daemon-reload command added
automatically to postinst

Thanks.

Reply via email to