diff --git a/restart_docker.hook b/restart_docker.hook new file mode 100644 index 0000000..ab7dadb --- /dev/null +++ b/restart_docker.hook @@ -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 +