Jonathan Dowland: > Package: debhelper > Version: 13.2.1 > Severity: normal > > I'm working on a modification for mlocate to add a systemd unit file[1] > that is intended to be activated by systemd timer, so, not run as a > daemon, and not analoguous to an init script. The unit is not installed > (has no [Install] section) and the package does not ship an init script. > (There's a .timer unit, too, which does have an [Install] section.) > > [...] > > > Best wishes, >
I believe this is fixed in compat 12, where dh_installinit and dh_installsystemd are cleanly separated. In prior compat levels, they are intertwined in complicated ways that are not very easy to understand. So my recommendation is to test with compat 12; if that works and you can bump to compat 12 (stable / oldstable-backports), use that. ~Niels