On Sat, Sep 25, 2021 at 04:50:11PM +0200, Michael Biebl wrote: > daemon-reload is a costly operation, so we should try to avoid calling it > too excessively. > > So I'm not convinced it is a good idea to generate a daemon-reload (via > dh_installsystemd in postinst) for packages which do not actually (re)start > a unit as part of the upgrade process.
I wonder, do you already thought about using a dpkg trigger?
I don't think that running daemon-reload once at the end of a set of
package upgrade is too much.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
More about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature

