diff options
author | varac <varacanero@zeromail.org> | 2017-03-02 11:34:41 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-03-02 11:34:41 +0100 |
commit | d1659174687cadaa7e0b8fa65df97c8f40f9ee40 (patch) | |
tree | aab259e5f26c8ee503939ca8f0091838e9a908fc | |
parent | 21c508f00a4a36f9a47d951cdd36c533771984e0 (diff) |
Fix lintian errors when packaging without initfile
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 7 insertions, 0 deletions
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 |