Install systemd unit with dh_installsystemd in debian/rules
authorgregor herrmann <gregoa@debian.org>
Fri, 1 May 2020 20:08:41 +0000 (22:08 +0200)
committergregor herrmann <gregoa@debian.org>
Fri, 1 May 2020 20:08:41 +0000 (22:08 +0200)
instead of manually via dh_install.

debian/iodine.install
debian/rules

index 93e3582b6a7110aa6b87051281cafdaf18bd41c5..5a7cdea7134613a4db6de14f7ac9a6847678dc49 100644 (file)
@@ -1,2 +1 @@
 debian/iodine-client-start usr/sbin
-debian/iodined.service lib/systemd/system/
index 2a2d01964a7ae1093176784b079143f858e2b908..9185782dfdd4630f27286941424745e9430b5447 100755 (executable)
@@ -28,6 +28,9 @@ override_dh_auto_install:
 override_dh_installinit:
        dh_installinit --name=iodined
 
+override_dh_installsystemd:
+       dh_installsystemd --name=iodined
+
 override_dh_installlogcheck:
        dh_installlogcheck
        mv $(TMP)/etc/logcheck/ignore.d.server/iodine $(TMP)/etc/logcheck/ignore.d.server/iodined