Add pacman hook.

This commit is contained in:
Alexandre Pujol 2021-04-02 10:43:57 +01:00
parent c1644cd757
commit ca306357d4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -0,0 +1,10 @@
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = etc/apparmor.d/*
[Action]
Description = Reloading AppArmor service...
When = PostTransaction
Exec = /usr/bin/systemctl reload apparmor.service