mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Add pacman hook.
This commit is contained in:
parent
c1644cd757
commit
ca306357d4
1 changed files with 10 additions and 0 deletions
10
root/usr/share/libalpm/hooks/apparmor.hook
Normal file
10
root/usr/share/libalpm/hooks/apparmor.hook
Normal 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
|
Loading…
Reference in a new issue