]> git.proxmox.com Git - lxcfs.git/commitdiff
d/rules: install systemd not init file
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 09:49:07 +0000 (11:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 09:49:10 +0000 (11:49 +0200)
avoid the lintian init.d-script-not-included-in-package error which
was cause by us using the old systemd sysv compat shim

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules

index 12747736a7c6ab85a31f8fbe79a9c68445f81edc..3c866a63c2a5f54496c8d85036eeb06b7597e93e 100755 (executable)
@@ -13,7 +13,7 @@ override_dh_auto_install:
        dh_auto_install --destdir=debian/lxcfs
 
 override_dh_installinit:
-       dh_installinit -p lxcfs --no-restart-on-upgrade
+       dh_installsystemd -p lxcfs --no-restart-on-upgrade
 
 override_dh_systemd_start:
        dh_systemd_start -p lxcfs --no-restart-on-upgrade lxcfs.service