tags 755931 + patch
thanks

Looking at it in more detail, it seems you already use dh_systemd, just
not correctly.

debian/rules contains:

override_dh_systemd_enable:
       dh_systemd_enable -pdowntimed-server --name downtimed
downtimed.service


Yet, the package is named downtimed, and not downtimed-server.

It looks to me, as you can simply drop those two lines. The resulting
package then will have a correct dependency on init-system-helpers and
the maintainer scripts code proper registers the downtimed.service file.

See attached diff

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff --git a/debian/rules b/debian/rules
index 7eb7d4b..6e33cc3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,3 @@ export CPPFLAGS CFLAGS LDFLAGS
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
-
-override_dh_systemd_enable:
-	dh_systemd_enable -pdowntimed-server --name downtimed downtimed.service

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to