<div dir="ltr">For anyone else coming across this same error, the solution is:<div><br></div><div><div>       For only generating blocks for specific service files, you need to pass them as arguments, e.g. dh_systemd_enable quota.service and</div><div>       dh_systemd_enable --name=quotarpc quotarpc.service.</div></div><div><br></div><div><pre>override_dh_systemd_enable:
    dh_systemd_enable --name=service_on_by_default service_on_by_default.service
    dh_systemd_enable --name=another_service_on_by_default another_service_on_by_default.service
    dh_systemd_enable --no-enable --name=non_tipical_service non_tipical_service.service</pre><pre><br></pre><pre>Otherwise dh_systemd_enable includes the first 3 times, the second 2times , and the third 1 time.</pre><br></div></div>