This gives us the appropriate RUNSTATEDIR setting of /run, and is still
compatible with backports to Bullseye. Also use the new
debhelper-compat build-dep rather than debian/compat.
 Priority: optional
 Maintainer: Jonathan McDowell <noodles@earth.li>
 Build-Depends: cmake,
-       debhelper (>= 10),
+       debhelper-compat (= 13),
        libcurl4-gnutls-dev | libcurl-dev,
        libdb-dev,
        libsystemd-dev (>= 214) [linux-any] | libsystemd-daemon-dev [linux-any],
 
 override_dh_installinit:
        dh_installinit --no-start
 
-override_dh_systemd_enable:
-       dh_systemd_enable --no-enable debian/onak.service
-       dh_systemd_enable --no-enable debian/onak.socket
+override_dh_installsystemd:
+       dh_installsystemd --no-enable --no-start onak.service
+       dh_installsystemd --no-enable --no-start onak.socket