Add restart_docker hook

This commit is contained in:
Brainwrecked Tech 2023-01-25 01:49:32 -05:00
parent 04ec506c47
commit e63f6f2d3c

13
restart_docker.hook Normal file
View File

@ -0,0 +1,13 @@
# Reload systemd services on package upgrades
[Trigger]
Operation = Upgrade
Type = Package
Target = docker
[Action]
Description = Restarting Docker socket
Depends = systemd
When = PostTransaction
Exec = /etc/pacman.d/scripts/restart-hook docker.socket