diff --git a/debian/rules b/debian/rules
index d6726e37c3773ebf15bd905ff688bec70ea8966c..3698ee1142df4f73075c72c60c25c0fb5f8cc007 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,8 @@ export DH_GOLANG_EXCLUDES = vendor
 override_dh_auto_install:
 	dh_auto_install -- --no-source
 
-override_dh_installinit:
-	dh_installinit --name=iprep-tail
+override_dh_installsystemd:
+	dh_installsystemd --name=iprep-tail
 
 override_dh_systemd_enable:
 	dh_systemd_enable --no-enable --name=iprep-tail