build(debian): use deb-systemd-invoke and minor lintian fixes.

This commit is contained in:
Alexandre Pujol 2025-09-01 15:54:28 +02:00
parent 7c6f776757
commit 09c1f61bb7
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 5 additions and 9 deletions

View file

@ -8,8 +8,6 @@ set -e
#DEBHELPER#
apparmor_parser --purge-cache || true
if systemctl is-active -q apparmor; then
systemctl reload apparmor
fi
deb-systemd-invoke reload apparmor.service
exit 0