Package: debhelper Version: 13.8 Followup-For: Bug #889635 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
I second the request to support templated unit files. My MR for init-system-helpers to support enabling template units with a default instance was accepted two days ago [0]. There's two possible action dh_installsystemd could take for a template unit with a default instance: 1. Only run the enable, purge and unmask actions on postinst, because these are actions that don't require an instance. 2. Do the actions in option 1, but additionally parse the DefaultInstance line and run start, stop, and restart actions as well. Option 1 is also available for template units without instance, so that has broader applicability than just template units with a default instance. If there's interest, I'd be willing to try to code an implementation of either or both options. Regards, Victor Westerhuis [0]: https://salsa.debian.org/debian/init-system-helpers/-/merge_requests/20 -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEE6OxII3T+o0Ujs6ECQz2Rq5dHQPsFAmLMNVATHHZpY3RvckB3 ZXN0ZXJodS5pcwAKCRBDPZGrl0dA+w89D/4ntsR/5YpIWZz7vaHUUn6aCimVT0/2 4TvPKieEMXixiJNMbHSs0y6l4ssezWMZbbGxQoH+Xiua0zZDij7drGuZgXSmAyjB Aoo9OHnWfikvc5NzVjiY8po/xW48r2C0ALpgxx8kG5wdJTR0frtj7zx9c3iuaois hfMuGNxF+lBw9jZ9CFNC2rPLrA5cQvTsdWknhfkz1UsAcOoblFOAv/3g+GNjSZLb JUwCdCWrmlozUAB0hSV3mK2scGlf57ndXwr/NbNIXk1yNpfOmK8v5Y2QBaFzn8z6 GbpBc0ewHPVObjPlRLizJxt+DBdjga7ZtoDE5i9EJXayr/eA6Z7MD+JRYd5STup5 64zoYPKaujt97cLnLimaJv8xaTLGMh7XBFx5k7XkHtUCm5yqDK3hJZKJL5FTTrkI GEjX+vT7LKe4CmsNkGFrooAvmRb1DR2fruXB0D6OSl4MjxqLYMaQB7puAV1sQA2L xv+ie5RiqTEfHzRNI/If43nb+y/0jjrbsdZ6KJ4PlmppGfSq3rW0r9ErXpp9/RNN CcAOfMw+f8rvosGNXehgy58SljDN486D+JA6H44Gvg5Qp/POr64pg4Tsek1rxonU TtEF7K4DMQT5BC3oHRWp6u5Uy698MeR1njSKmel9cLob8e14vppEXw6OO3hplcw9 NbyDDW/HQlGFEQ== =6ak0 -----END PGP SIGNATURE-----