d/triggers: add trigger to restart pmg services

currently an update to SpamAssassin does not reload the relevant
services in pmg (mostly pmg-smtp-filter and the api-daemons, but
through transitive use statements most others also pull in some
part of SpamAssassin)

This patch simply adds a new trigger [0,1] to reload all services,
as is already done for updates of pve-common).

[0] https://git.dpkg.org/cgit/dpkg/dpkg.git/tree/doc/spec/triggers.txt
[1] https://manpages.debian.org/bookworm/dpkg-dev/deb-triggers.5.en.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2024-06-12 19:10:18 +02:00 committed by Thomas Lamprecht
parent 4047653305
commit 67a3815b65

1
debian/triggers vendored Normal file
View File

@ -0,0 +1 @@
activate-noawait pmg-sa-updates