From 2892f25daaae811774f99adfe9c33f8d84868f70 Mon Sep 17 00:00:00 2001
From: godog <godog@autistici.org>
Date: Sun, 10 May 2020 19:23:47 +0200
Subject: [PATCH] Revert "backport to stretch"

This reverts commit 1020ac96f7316ef2caba61668f0388d7a42ad569.
---
 debian/control | 4 ++--
 debian/rules   | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 637aa978..b96d017b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Section: mail
 Priority: optional
 Maintainer: Mailman for Debian <pkg-mailman-hackers@lists.alioth.debian.org>
 Uploaders: Thijs Kinkhorst <thijs@debian.org>,
-Build-Depends: debhelper (>= 10), autoconf, python-dev,
- gettext, python-dnspython, dh-python, dh-systemd
+Build-Depends: debhelper (>= 11), autoconf, python-dev,
+ gettext, python-dnspython, dh-python
 Standards-Version: 4.1.4
 Homepage: http://www.list.org/
 Vcs-Git: https://salsa.debian.org/mailman-team/mailman2.git
diff --git a/debian/rules b/debian/rules
index 3e27bae6..436bf654 100755
--- a/debian/rules
+++ b/debian/rules
@@ -121,8 +121,7 @@ binary-arch:	build
 		do dh_link usr/lib/$(package)/bin/$$bin usr/sbin/$$bin; done
 	mv debian/mailman/usr/sbin/arch debian/mailman/usr/sbin/mmarch
 	dh_installman
-	dh_systemd_enable
-	dh_systemd_start
+	dh_installsystemd
 	dh_installdebconf
 	dh_installexamples templates/* debian/mm_cfg.py \
 		debian/mailman/usr/lib/$(package)/Mailman/Defaults.py
-- 
GitLab