diff --git a/debian/compat b/debian/compat
index f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2..48082f72f087ce7e6fa75b9c41d7387daecd447b 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-10
+12
diff --git a/debian/control b/debian/control
index 50ec029ccda63c748d9a797727dfce0d484cfc81..ddb8f505e8f95a84c4fc4ed986f7d6281fcc2ab3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: acmeserver
 Section: admin
 Priority: optional
 Maintainer: Autistici/Inventati <debian@autistici.org>
-Build-Depends: debhelper (>= 10~), golang-any (>= 1.11), dh-golang
+Build-Depends: debhelper (>= 12~), golang-any (>= 1.11), dh-golang
 Standards-Version: 3.9.6
 
 Package: acmeserver
diff --git a/debian/rules b/debian/rules
index 59922f6fe970b448590b716ede10b8ce16906c36..b0788496acfde6320d372101047fae243ec41a29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,8 @@ export DH_GOLANG_EXCLUDES = vendor
 override_dh_auto_install:
 	dh_auto_install -- --no-source
 
-override_dh_systemd_enable:
-	dh_systemd_enable --no-enable
+override_dh_installsystemd:
+	dh_installsystemd --no-enable
 
-override_dh_systemd_start:
-	dh_systemd_start --no-start
+override_dh_installsystemd:
+	dh_installsystemd --no-start