aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/pacman.d/hooks/00-systemd-boot.hook
diff options
context:
space:
mode:
Diffstat (limited to 'sys/etc/pacman.d/hooks/00-systemd-boot.hook')
-rw-r--r--sys/etc/pacman.d/hooks/00-systemd-boot.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/etc/pacman.d/hooks/00-systemd-boot.hook b/sys/etc/pacman.d/hooks/00-systemd-boot.hook
new file mode 100644
index 0000000..d65c027
--- /dev/null
+++ b/sys/etc/pacman.d/hooks/00-systemd-boot.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = Package
+Operation = Upgrade
+Target = systemd
+
+[Action]
+Description = Gracefully upgrading systemd-boot...
+When = PostTransaction
+Exec = /usr/bin/systemctl restart systemd-boot-update.service