summaryrefslogtreecommitdiff
path: root/packages/debian/rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'packages/debian/rules.in')
-rwxr-xr-xpackages/debian/rules.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/debian/rules.in b/packages/debian/rules.in
index d6cd23ae..66e80946 100755
--- a/packages/debian/rules.in
+++ b/packages/debian/rules.in
@@ -1,9 +1,8 @@
## template:basic
#!/usr/bin/make -f
-
INIT_SYSTEM ?= upstart,systemd
-PYVER ?= python${pyver}
export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM)
+PYVER ?= python${pyver}
%:
dh $@ --with $(PYVER),systemd --buildsystem pybuild
@@ -14,6 +13,7 @@ override_dh_install:
cp tools/21-cloudinit.conf debian/cloud-init/etc/rsyslog.d/21-cloudinit.conf
override_dh_auto_test:
- # Because setup tools didn't copy data...
- [ ! -d .pybuild/pythonX.Y_?.?/build/tests ] || cp -r tests/data .pybuild/pythonX.Y_?.?/build/tests
http_proxy= make check
+
+override_dh_systemd_start:
+ dh_systemd_start --no-restart-on-upgrade --no-start