From d1659174687cadaa7e0b8fa65df97c8f40f9ee40 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 2 Mar 2017 11:34:41 +0100 Subject: Fix lintian errors when packaging without initfile --- debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/rules b/debian/rules index 5a86973..478d614 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,14 @@ #!/usr/bin/make -f +NAME=leap-mx + %: dh $@ --with python2 --buildsystem=python_distutils --with=systemd +override_dh_installinit: + dh_systemd_enable -p${NAME} --name=${NAME} ${NAME}.service + dh_installinit -p${NAME} --no-start --noscripts + dh_systemd_start -p${NAME} --no-restart-on-upgrade + override_dh_installchangelogs: dh_installchangelogs CHANGELOG.rst -- cgit v1.2.3