build(debian): use deb-systemd-invoke and minor lintian fixes.
This commit is contained in:
parent
7c6f776757
commit
09c1f61bb7
3 changed files with 5 additions and 9 deletions
4
debian/apparmor.d.postrm
vendored
4
debian/apparmor.d.postrm
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue