From ca306357d4cc3c136c2b27b77cacc48f8c430dd0 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 2 Apr 2021 10:43:57 +0100 Subject: [PATCH] Add pacman hook. --- root/usr/share/libalpm/hooks/apparmor.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 root/usr/share/libalpm/hooks/apparmor.hook diff --git a/root/usr/share/libalpm/hooks/apparmor.hook b/root/usr/share/libalpm/hooks/apparmor.hook new file mode 100644 index 00000000..3b502096 --- /dev/null +++ b/root/usr/share/libalpm/hooks/apparmor.hook @@ -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 \ No newline at end of file