summaryrefslogtreecommitdiff
path: root/30-systemd-restart-marked.hook
diff options
context:
space:
mode:
Diffstat (limited to '30-systemd-restart-marked.hook')
-rw-r--r--30-systemd-restart-marked.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/30-systemd-restart-marked.hook b/30-systemd-restart-marked.hook
new file mode 100644
index 0000000..9f62fd0
--- /dev/null
+++ b/30-systemd-restart-marked.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = Path
+Operation = Upgrade
+Target = usr/lib/systemd/system/*
+
+[Action]
+Description = Restarting marked services...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/systemd-hook restart-marked