aboutsummaryrefslogtreecommitdiffstats
path: root/libalpm/80-pacredir.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libalpm/80-pacredir.hook')
-rw-r--r--libalpm/80-pacredir.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/libalpm/80-pacredir.hook b/libalpm/80-pacredir.hook
new file mode 100644
index 0000000..14eb4f3
--- /dev/null
+++ b/libalpm/80-pacredir.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = pacredir
+
+[Action]
+Description = Restarting pacredir...
+When = PostTransaction
+Exec = /usr/bin/systemctl try-restart pacredir.service