[Debian-iot-maintainers] Bug#1138686: Bug#1138686: mosquitto: systemd service does not restart on upgrade / systemd triggers missing in postinst
Joachim Zobel
jz-2017 at heute-morgen.de
Thu Jun 4 14:33:28 BST 2026
Am Dienstag, dem 02.06.2026 um 10:18 +0000 schrieb Patrick Braun:
> I suspect this is because the service file is not in the debian directory and dh_installsystemd does not place default triggers.
There are default triggers in the package:
$ grep dh_installsystemd /tmp/postinst-3
# Automatically added by dh_installsystemduser/13.31
# Automatically added by dh_installsystemd/13.31
# Automatically added by dh_installsystemd/13.31
> After tinkering a bit by copying the service to debian/ and setting an override for dh_installsystemd, the systemd postinst triggers
> get inserted as expected. So I'm guessing that's the reason.
Which override for dh_installsystemd did you set?
How do your postinst triggers differ from the existing ones?
Sincerely,
Joachim
More information about the Debian-iot-maintainers
mailing list